1
Fork 0
rust/compiler/rustc_resolve/src
Matthias Krüger 12e6b4897c
Rollup merge of #128080 - estebank:out-of-scope-macro, r=petrochenkov
Specify scope in `out_of_scope_macro_calls` lint

```
warning: cannot find macro `in_root` in the crate root
  --> $DIR/key-value-expansion-scope.rs:1:10
   |
LL | #![doc = in_root!()]
   |          ^^^^^^^ not found in the crate root
   |
   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
   = note: for more information, see issue #124535 <https://github.com/rust-lang/rust/issues/124535>
   = help: import `macro_rules` with `use` to make it callable above its definition
   = note: `#[warn(out_of_scope_macro_calls)]` on by default
```

r? ```@petrochenkov```
2025-02-21 12:45:21 +01:00
..
late When giving a suggestion to use :: instead of . where the rhs is a macro giving a type, 2025-02-18 13:11:37 -06:00
build_reduced_graph.rs Rustfmt 2025-02-08 22:12:13 +00:00
check_unused.rs Run clippy --fix for unnecessary_map_or lint 2025-01-19 19:15:00 +00:00
def_collector.rs Rustfmt 2025-02-08 22:12:13 +00:00
diagnostics.rs Rollup merge of #135677 - yotamofek:resolve-cleanups2, r=compiler-errors 2025-02-11 18:04:28 +01:00
effective_visibilities.rs rustc_resolve: reduce rightwards drift with let..else 👉💨 2025-01-21 13:42:32 +00:00
errors.rs Use identifiers in diagnostics more often 2025-01-27 01:23:34 +00:00
ident.rs Rustfmt 2025-02-08 22:12:13 +00:00
imports.rs Enforce T: Hash for Interned<...> 2025-02-17 21:35:52 -05:00
late.rs Add a TyPat in the AST to reuse the generic arg lowering logic 2025-02-11 08:51:05 +00:00
lib.rs Enforce T: Hash for Interned<...> 2025-02-17 21:35:52 -05:00
macros.rs Reword message 2025-02-20 17:55:31 +00:00
rustdoc.rs rustdoc: improve refdef handling in the unresolved link lint 2025-02-15 12:21:35 -07:00