diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-09-11 20:04:23 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-11 20:04:23 +0200 |
| commit | 5107ff43229b3e0f3c9ebcc3796c90e3497598cb (patch) | |
| tree | d481b103ca0c825852183e9ba07151c71b6fea04 /compiler/rustc_codegen_cranelift/example/alloc_example.rs | |
| parent | 6d7ccad93dd2971341527fc23ddb27ccb9c7962b (diff) | |
| parent | 4cecf429717ceab06007570fd699086a0855a027 (diff) | |
| download | rust-5107ff43229b3e0f3c9ebcc3796c90e3497598cb.tar.gz rust-5107ff43229b3e0f3c9ebcc3796c90e3497598cb.zip | |
Rollup merge of #130123 - FedericoBruzzone:master, r=compiler-errors
Report the `note` when specified in `diagnostic::on_unimplemented` Before this PR the `note` field was completely ignored for some reason, now it is shown (I think) correctly during the hir typechecking phase. 1. Report the `note` when specified in `diagnostic::on_unimplemented` 2. Added a test for unimplemented trait diagnostic 3. Added a test for custom unimplemented trait diagnostic Close #130084 P.S. This is my first PR to rustc.
Diffstat (limited to 'compiler/rustc_codegen_cranelift/example/alloc_example.rs')
0 files changed, 0 insertions, 0 deletions
