]> git.lizzy.rs Git - rust.git/commitdiff
Merge #11579
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>
Mon, 28 Feb 2022 09:18:26 +0000 (09:18 +0000)
committerGitHub <noreply@github.com>
Mon, 28 Feb 2022 09:18:26 +0000 (09:18 +0000)
11579: minor: Future-proof against a next edition by using `>=` and not `==` r=lnicola a=ChayimFriedman2

So that we won't have a strange bug when edition 2024 will land.

rustc [also does that](https://github.com/rust-lang/rust/blob/427cf81206d3b6cf41c86c1b9ce113a33f1ce860/compiler/rustc_builtin_macros/src/edition_panic.rs#L84).

Co-authored-by: Chayim Refael Friedman <chayimfr@gmail.com>

No differences found