Skip to content

Commit 4da2b21

Browse files
committed
Auto merge of #1138 - wesleywiser:fix_miri_after_cast_truncation_checking, r=oli-obk
Bump rustc version to fix miri Fixes rust-lang/rust#67793
2 parents 67ef0b1 + 959033c commit 4da2b21

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

rust-version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
38aa6bdfd705ea0604d7d5dd9fabc5e8f853a4fc
1+
0ec370670220b712b042ee09aab067ec7e5878d5

tests/run-pass/c_enums.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#![allow(const_err)] // don't warn about truncating casts
2+
13
enum Foo {
24
Bar = 42,
35
Baz,

0 commit comments

Comments
 (0)