summaryrefslogtreecommitdiffstats
path: root/tests/ui/const-generics/parser-error-recovery/issue-89013.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/const-generics/parser-error-recovery/issue-89013.rs')
-rw-r--r--tests/ui/const-generics/parser-error-recovery/issue-89013.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/const-generics/parser-error-recovery/issue-89013.rs b/tests/ui/const-generics/parser-error-recovery/issue-89013.rs
index 9431779fa..335d0d94e 100644
--- a/tests/ui/const-generics/parser-error-recovery/issue-89013.rs
+++ b/tests/ui/const-generics/parser-error-recovery/issue-89013.rs
@@ -8,7 +8,7 @@ const T: usize = 42;
impl Foo<N = const 3> for Bar {
//~^ ERROR expected lifetime, type, or constant, found keyword `const`
-//~| ERROR this trait takes 1 generic
+//~| ERROR trait takes 1 generic
//~| ERROR associated type bindings are not allowed here
//~| ERROR associated const equality is incomplete
fn do_x(&self) -> [u8; 3] {