diff --git a/rust-version b/rust-version index 1aa101dca1..555bac8c19 100644 --- a/rust-version +++ b/rust-version @@ -1 +1 @@ -0e63af5da3400ace48a0345117980473fd21ad73 +120b2a704a60d4341286bd82f6e638c65ca169b6 diff --git a/tests/compile-fail/erroneous_const.rs b/tests/compile-fail/erroneous_const.rs index 7f1a818208..49dcea62a2 100644 --- a/tests/compile-fail/erroneous_const.rs +++ b/tests/compile-fail/erroneous_const.rs @@ -9,6 +9,7 @@ struct PrintName(T); impl PrintName { const VOID: ! = panic!(); //~WARN any use of this value will cause an error + //~^ WARN this was previously accepted } fn no_codegen() {