summaryrefslogtreecommitdiffstats
path: root/tests/ui/const-generics/issue-80471.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/const-generics/issue-80471.rs')
-rw-r--r--tests/ui/const-generics/issue-80471.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/const-generics/issue-80471.rs b/tests/ui/const-generics/issue-80471.rs
index d0af8a5ea..fa6f1fde4 100644
--- a/tests/ui/const-generics/issue-80471.rs
+++ b/tests/ui/const-generics/issue-80471.rs
@@ -8,6 +8,6 @@ enum Nat {
}
fn foo<const N: Nat>() {}
-//~^ ERROR `Box<Nat>` must be annotated with `#[derive(PartialEq, Eq)]` to be used as the type of a const parameter
+//~^ ERROR `Nat` must implement `ConstParamTy` to be used as the type of a const generic parameter
fn main() {}