about summary refs log tree commit diff
path: root/compiler/rustc_codegen_cranelift/example/alloc_example.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-09-11 20:04:23 +0200
committerGitHub <noreply@github.com>2024-09-11 20:04:23 +0200
commit5107ff43229b3e0f3c9ebcc3796c90e3497598cb (patch)
treed481b103ca0c825852183e9ba07151c71b6fea04 /compiler/rustc_codegen_cranelift/example/alloc_example.rs
parent6d7ccad93dd2971341527fc23ddb27ccb9c7962b (diff)
parent4cecf429717ceab06007570fd699086a0855a027 (diff)
downloadrust-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