about summary refs log tree commit diff
path: root/src/test/ui/limits
diff options
context:
space:
mode:
authorCameron Steffen <cam.steffen94@gmail.com>2021-10-21 09:01:16 -0500
committerCameron Steffen <cam.steffen94@gmail.com>2021-10-29 17:13:15 -0500
commit4cfb7add771367757ee2dd26da4e29d333c93cb6 (patch)
tree196507eb9640a0afdaa4f57eb3e212442177bde2 /src/test/ui/limits
parent37f70a0e1e04086aee7ae57fbefd6d4071953506 (diff)
downloadrust-4cfb7add771367757ee2dd26da4e29d333c93cb6.tar.gz
rust-4cfb7add771367757ee2dd26da4e29d333c93cb6.zip
Fix a format_args span to be expansion
Diffstat (limited to 'src/test/ui/limits')
-rw-r--r--src/test/ui/limits/issue-55878.stderr1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/ui/limits/issue-55878.stderr b/src/test/ui/limits/issue-55878.stderr
index a7e38247902..90411353f08 100644
--- a/src/test/ui/limits/issue-55878.stderr
+++ b/src/test/ui/limits/issue-55878.stderr
@@ -18,6 +18,7 @@ LL |     println!("Size: {}", std::mem::size_of::<[u8; u64::MAX as usize]>());
    = 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)
 
 error: aborting due to 2 previous errors