summaryrefslogtreecommitdiffstats
path: root/tests/ui/consts/const-blocks/fn-call-in-non-const.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/consts/const-blocks/fn-call-in-non-const.stderr')
-rw-r--r--tests/ui/consts/const-blocks/fn-call-in-non-const.stderr3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/ui/consts/const-blocks/fn-call-in-non-const.stderr b/tests/ui/consts/const-blocks/fn-call-in-non-const.stderr
index ee352700c..174103eeb 100644
--- a/tests/ui/consts/const-blocks/fn-call-in-non-const.stderr
+++ b/tests/ui/consts/const-blocks/fn-call-in-non-const.stderr
@@ -10,7 +10,8 @@ LL | let _: [Option<Bar>; 2] = [no_copy(); 2];
= help: create an inline `const` block, see RFC #2920 <https://github.com/rust-lang/rfcs/pull/2920> for more information
help: consider annotating `Bar` with `#[derive(Copy)]`
|
-LL | #[derive(Copy)]
+LL + #[derive(Copy)]
+LL | struct Bar;
|
error: aborting due to previous error