about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/asm.rs
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2024-08-07 15:59:38 +0200
committerGitHub <noreply@github.com>2024-08-07 15:59:38 +0200
commit888d157417c8defa25b321faca64460231d7cd62 (patch)
tree2e81374a422d04079cb3e2368adadc122bf05cdc /compiler/rustc_codegen_llvm/src/asm.rs
parentf739c00f4a9924dafa8fd9805766266394da04fd (diff)
parentc656ce7aebe23b8d895f485b131da5d296a78c8c (diff)
downloadrust-888d157417c8defa25b321faca64460231d7cd62.tar.gz
rust-888d157417c8defa25b321faca64460231d7cd62.zip
Rollup merge of #128753 - compiler-errors:arbitrary-upper, r=spastorino
Don't arbitrarily choose one upper bound for hidden captured region error message

You could argue that the error message is objectively worse, even though it's more accurate. I guess we could also add a note explaining like "cannot capture the intersection of two regions" or something, though I'm not sure if that is confusing due to being totally technical jargon.

This addresses the fact that #128752 says "add `+ 'b`" even though it does nothing to fix the issue. It doesn't fix the issue's root cause, though.

r? `@spastorino`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/asm.rs')
0 files changed, 0 insertions, 0 deletions