about summary refs log tree commit diff
path: root/src/test/ui/limits
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2022-06-04 19:25:43 -0400
committerRalf Jung <post@ralfj.de>2022-06-25 10:30:47 -0400
commitaf58692ad10d402612a80fec782cc8e5dce2a75a (patch)
tree30fa46a848c342438cebda3b090d87f0baaa01f5 /src/test/ui/limits
parentdc2cc109419ac497ac24046297f452c9cced0ec0 (diff)
downloadrust-af58692ad10d402612a80fec782cc8e5dce2a75a.tar.gz
rust-af58692ad10d402612a80fec782cc8e5dce2a75a.zip
bless remaining tests
Diffstat (limited to 'src/test/ui/limits')
-rw-r--r--src/test/ui/limits/issue-55878.stderr12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/test/ui/limits/issue-55878.stderr b/src/test/ui/limits/issue-55878.stderr
index 90411353f08..1402d138703 100644
--- a/src/test/ui/limits/issue-55878.stderr
+++ b/src/test/ui/limits/issue-55878.stderr
@@ -23,3 +23,15 @@ LL |     println!("Size: {}", std::mem::size_of::<[u8; u64::MAX as usize]>());
 error: aborting due to 2 previous errors
 
 For more information about this error, try `rustc --explain E0080`.
+Future incompatibility report: Future breakage diagnostic:
+error: erroneous constant used
+  --> $DIR/issue-55878.rs:7:26
+   |
+LL |     println!("Size: {}", std::mem::size_of::<[u8; u64::MAX as usize]>());
+   |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ referenced constant has errors
+   |
+   = note: `#[deny(const_err)]` on by default
+   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
+   = note: for more information, see issue #71800 <https://github.com/rust-lang/rust/issues/71800>
+   = note: this error originates in the macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info)
+