From 4cfb7add771367757ee2dd26da4e29d333c93cb6 Mon Sep 17 00:00:00 2001 From: Cameron Steffen Date: Thu, 21 Oct 2021 09:01:16 -0500 Subject: Fix a format_args span to be expansion --- src/test/ui/consts/const-eval/conditional_array_execution.stderr | 1 + 1 file changed, 1 insertion(+) (limited to 'src/test/ui/consts/const-eval/conditional_array_execution.stderr') diff --git a/src/test/ui/consts/const-eval/conditional_array_execution.stderr b/src/test/ui/consts/const-eval/conditional_array_execution.stderr index 356a7f58d85..9dc40030a6f 100644 --- a/src/test/ui/consts/const-eval/conditional_array_execution.stderr +++ b/src/test/ui/consts/const-eval/conditional_array_execution.stderr @@ -28,6 +28,7 @@ LL | println!("{}", FOO); | = 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 + = note: this warning originates in the macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info) error: aborting due to previous error; 2 warnings emitted -- cgit 1.4.1-3-g733a5