From d3098043953626e2a2517523788d1949e5b6e80f Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Wed, 3 Feb 2021 23:37:40 +0100 Subject: [PATCH] rustup --- rust-version | 2 +- tests/compile-fail/erroneous_const.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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() {