about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm
diff options
context:
space:
mode:
authorChayim Refael Friedman <chayimfr@gmail.com>2022-02-28 11:13:55 +0200
committerGitHub <noreply@github.com>2022-02-28 11:13:55 +0200
commite6a35c28cba7bb1c79285e96707dcb2050630a05 (patch)
treebe2544dddac7ba4a7007b265716ab8d97fd3ae0a /src/test/codegen/src-hash-algorithm
parent4e72700e38421a12993fe5fa5c33d712652bc6c8 (diff)
downloadrust-e6a35c28cba7bb1c79285e96707dcb2050630a05.tar.gz
rust-e6a35c28cba7bb1c79285e96707dcb2050630a05.zip
Future-proof against a next edition by using `>=` and not `==`
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).
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions