about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/SymbolWrapper.cpp
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-04-04 21:55:00 +0200
committerGitHub <noreply@github.com>2025-04-04 21:55:00 +0200
commitf074bbff7aed720db0b0ff70f414b616b537223b (patch)
treeae2daa5823a857c8d5ad12a43eaf7cbdc75c9ee2 /compiler/rustc_llvm/llvm-wrapper/SymbolWrapper.cpp
parentfa7d66eaaa39491d9b99c3873fd157eac1edc4f3 (diff)
parenta69a219f96454f59786b5983ce471aaeec1d77ed (diff)
downloadrust-f074bbff7aed720db0b0ff70f414b616b537223b.tar.gz
rust-f074bbff7aed720db0b0ff70f414b616b537223b.zip
Rollup merge of #139374 - oli-obk:const-trait-bound, r=compiler-errors
Use the span of the whole bound when the diagnostic talks about a bound

While it makes sense that the host predicate only points to the `~const` part, as whether the actual trait bound is satisfied is checked separately, the user facing diagnostic is talking about the entire trait bound, at which point it makes more sense to just highlight the entire bound

r? `@compiler-errors` or `@fee1-dead`
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/SymbolWrapper.cpp')
0 files changed, 0 insertions, 0 deletions