diff options
| author | Jonas Schievink <jonasschievink@gmail.com> | 2021-01-24 22:09:53 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-24 22:09:53 +0100 |
| commit | e8ef15d9d1d2800477c13f77704bf4d23bba9bb1 (patch) | |
| tree | 132f5462ba71eda9c428bfd42b40aac7f4b4afcf /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 3ed8a3769aef987d437b09e7285b5d0c46c97a94 (diff) | |
| parent | a730970dffe84711b8be66c38080acf1b1109982 (diff) | |
| download | rust-e8ef15d9d1d2800477c13f77704bf4d23bba9bb1.tar.gz rust-e8ef15d9d1d2800477c13f77704bf4d23bba9bb1.zip | |
Rollup merge of #80855 - m-ou-se:assert-2021, r=petrochenkov
Expand assert!(expr, args..) to include $crate for hygiene on 2021. This makes `assert!(expr, args..)` properly hygienic in Rust 2021. This is part of rust-lang/rfcs#3007, see #80162. Before edition 2021, this was a breaking change, as `std::panic` and `core::panic` are different. In edition 2021 they will be identical, making it possible to apply proper hygiene here.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
