about summary refs log tree commit diff
path: root/tests/ui/generic-const-items
diff options
context:
space:
mode:
authorDeadbeef <ent3rm4n@gmail.com>2023-12-19 04:28:21 +0000
committerDeadbeef <ent3rm4n@gmail.com>2023-12-19 04:28:21 +0000
commite4f237d39eed56803540eb57bc6297ad07488a58 (patch)
treeeb64001d546cf7b8505e264fa3890a20e3f2fc3d /tests/ui/generic-const-items
parent43dcc9b786c922251c3fbe75a0142f50f07053ca (diff)
downloadrust-e4f237d39eed56803540eb57bc6297ad07488a58.tar.gz
rust-e4f237d39eed56803540eb57bc6297ad07488a58.zip
bless ui tests
Diffstat (limited to 'tests/ui/generic-const-items')
-rw-r--r--tests/ui/generic-const-items/const-trait-impl.stderr1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/ui/generic-const-items/const-trait-impl.stderr b/tests/ui/generic-const-items/const-trait-impl.stderr
index e7e90542796..cdcd24eceff 100644
--- a/tests/ui/generic-const-items/const-trait-impl.stderr
+++ b/tests/ui/generic-const-items/const-trait-impl.stderr
@@ -5,6 +5,7 @@ LL | const CREATE<T: Create>: T = T::create();
    |                              ^^^^^^^^^^^
    |
    = note: calls in constants are limited to constant functions, tuple structs and tuple variants
+   = help: add `#![feature(effects)]` to the crate attributes to enable
 
 error: aborting due to 1 previous error