rust/compiler/rustc_resolve/src
Trevor Gross c5788d618e
Rollup merge of #127557 - linyihai:issue-126694, r=compiler-errors
Add a label to point to the lacking macro name definition

Fixes https://github.com/rust-lang/rust/issues/126694, but adopts the suggestion from https://github.com/rust-lang/rust/issues/118295

```
 --> src/main.rs:1:14
  |
1 | macro_rules! {
  |            ^ put a macro name here
```
2024-07-26 02:20:30 -04:00
..
late Use field ident spans directly instead of the full field span in diagnostics on local fields 2024-07-06 19:22:05 +00:00
build_reduced_graph.rs Update method name to reflect changes to its internals 2024-07-16 15:34:35 +00:00
check_unused.rs Rename buffer_lint_with_diagnostic to buffer_lint 2024-05-21 20:16:39 +00:00
def_collector.rs Add ConstArgKind::Path and make ConstArg its own HIR node 2024-07-16 19:27:28 -07:00
diagnostics.rs Rollup merge of #127557 - linyihai:issue-126694, r=compiler-errors 2024-07-26 02:20:30 -04:00
effective_visibilities.rs resolve: Tweak some naming around import ambiguities 2024-06-25 19:52:59 +03:00
errors.rs Rollup merge of #127557 - linyihai:issue-126694, r=compiler-errors 2024-07-26 02:20:30 -04:00
ident.rs Account for let foo = expr; to suggest const foo: Ty = expr; 2024-07-11 20:39:24 +00:00
imports.rs Avoid ref when using format! in compiler 2024-07-19 14:52:07 -04:00
late.rs Just totally fully deny late-bound consts 2024-07-20 19:45:24 -04:00
lib.rs Account for let foo = expr; to suggest const foo: Ty = expr; 2024-07-11 20:39:24 +00:00
macros.rs out_of_scope_macro_calls: Detect calls inside attributes more precisely 2024-07-06 15:36:30 +03:00
rustdoc.rs Avoid ref when using format! in compiler 2024-07-19 14:52:07 -04:00