summaryrefslogtreecommitdiffstats
path: root/tests/ui/const-generics/nested-type.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/const-generics/nested-type.rs')
-rw-r--r--tests/ui/const-generics/nested-type.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/const-generics/nested-type.rs b/tests/ui/const-generics/nested-type.rs
index 742340f43..5240f5c3b 100644
--- a/tests/ui/const-generics/nested-type.rs
+++ b/tests/ui/const-generics/nested-type.rs
@@ -13,7 +13,7 @@ struct Foo<const N: [u8; { //[min]~ ERROR `[u8; _]` is forbidden
}
Foo::<17>::value()
- //[full]~^ ERROR cannot call non-const fn
+ //~^ ERROR cannot call non-const fn
}]>;
fn main() {}