Skip to content

Commit 4cf36f2

Browse files
committed
Auto merge of #1700 - RalfJung:rustup, r=RalfJung
rustup Cc rust-lang/rust#81726
2 parents 34e22a8 + d309804 commit 4cf36f2

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

rust-version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0e63af5da3400ace48a0345117980473fd21ad73
1+
120b2a704a60d4341286bd82f6e638c65ca169b6

tests/compile-fail/erroneous_const.rs

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
struct PrintName<T>(T);
1010
impl<T> PrintName<T> {
1111
const VOID: ! = panic!(); //~WARN any use of this value will cause an error
12+
//~^ WARN this was previously accepted
1213
}
1314

1415
fn no_codegen<T>() {

0 commit comments

Comments
 (0)