diff options
| author | Mara Bos <m-ou.se@m-ou.se> | 2021-08-23 20:45:50 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-23 20:45:50 +0200 |
| commit | c31e02a24caac2a4277475a79eb2934141265dac (patch) | |
| tree | baceff4bbe7779168f2a9f387e8481ed0df24291 /compiler/rustc_codegen_llvm/src/builder.rs | |
| parent | 5cf025f076e76d235cc3e795a22499cff9f4fc62 (diff) | |
| parent | 908ce2fd1f8f87a18f005b6d86276649786475d8 (diff) | |
| download | rust-c31e02a24caac2a4277475a79eb2934141265dac.tar.gz rust-c31e02a24caac2a4277475a79eb2934141265dac.zip | |
Rollup merge of #88232 - m-ou-se:macro-name-imported-but-not-macro, r=estebank
Add notes to macro-not-found diagnostics to point out how things with the same name were not a match.
This adds notes like:
```
error: cannot find derive macro `Serialize` in this scope
--> $DIR/issue-88206.rs:22:10
|
LL | #[derive(Serialize)]
| ^^^^^^^^^
|
note: `Serialize` is imported here, but it is not a derive macro
--> $DIR/issue-88206.rs:17:11
|
LL | use hey::{Serialize, Deserialize};
| ^^^^^^^^^
```
Fixes https://github.com/rust-lang/rust/issues/88206
Includes https://github.com/rust-lang/rust/pull/88229
r? `@estebank`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/builder.rs')
0 files changed, 0 insertions, 0 deletions
