Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Typo? 3.1. Macros By Example / Path-Based Scope: `m!(); // OK: Path-based lookup`

Open Beginner friendly
#1,789 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Quiet
Tech stack
rust
Domain
documentation

Research direction

Find the Rust Reference section “3.1. Macros By Example / Path-Based Scope” and review the shown self::m!(); and m!(); fragments alongside the path-based lookup explanation. Confirm whether the second fragment is intentional; done means correcting the example or adding the explanation needed to make the behavior unambiguous.

Written by the indexing model from the issue text.

Description

A-macros Language Cleanup

I suspect a typo.

Fragment of interest:

self::m!();
m!(); // OK: Path-based lookup finds m in the current module.

I suspect it must be:

self::m!(); // OK: Path-based lookup finds m in the current module.

i.e. the fragment m!(); must not be there.


I'm relatively new to Rust, still studying it. I can be wrong. But I have an intuitive described above suspicion of a typo. If that's not a typo then an extra explanation would help.

Dominant language
Rust
Stars
1.6k
Forks
609
Avg merge
1d 4h
Merged PRs (30d)
7

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from rust-lang/reference

All issues in rust-lang/reference

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.