about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/llvm_util.rs
diff options
context:
space:
mode:
authorYuki Okushi <jtitor@2k36.org>2021-06-26 00:42:06 +0900
committerGitHub <noreply@github.com>2021-06-26 00:42:06 +0900
commite01a720f8548e86f902f27280a7a54ea9be60186 (patch)
tree13c4821d60107319fc564eb25971fda68b7a2ee1 /compiler/rustc_codegen_llvm/src/llvm_util.rs
parent4733f32dbbbce7da5b06208a78af650be2db3001 (diff)
parent51f223e958ef90e94cfffdf68d8a81468aabc201 (diff)
downloadrust-e01a720f8548e86f902f27280a7a54ea9be60186.tar.gz
rust-e01a720f8548e86f902f27280a7a54ea9be60186.zip
Rollup merge of #86330 - rylev:update-fcw-handling, r=nikomatsakis
Change how edition based future compatibility warnings are handled

This fixes https://github.com/rust-lang/rust/issues/85894 by updating how future compatibility lints work. This makes it more apparent that future compatibility warnings can happen for several different reasons.

For now `FutureCompatibilityReasons` are limited to three reasons, but we can easily add more.

This also updates the generated warning for FCW's that signal code that will error in a future edition. This makes the diagnostics between FCWs at edition boundaries more distinct from those not happening at an edition boundary.

r? ``@m-ou-se``
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm_util.rs')
0 files changed, 0 insertions, 0 deletions