rust/compiler/rustc_builtin_macros
Jack Huey 7f2eeb10c7
Rollup merge of #81647 - m-ou-se:assert-2021-fix, r=petrochenkov
Fix bug with assert!() calling the wrong edition of panic!().

The span of `panic!` produced by the `assert` macro did not carry the right edition. This changes `assert` to call the right version.

Also adds tests for the 2021 edition of panic and assert, that would've caught this.
2021-02-02 16:01:46 -05:00
..
src Rollup merge of #81647 - m-ou-se:assert-2021-fix, r=petrochenkov 2021-02-02 16:01:46 -05:00
Cargo.toml