summaryrefslogtreecommitdiffstats
path: root/src/test/ui/generics/issue-59508.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/generics/issue-59508.rs')
-rw-r--r--src/test/ui/generics/issue-59508.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/generics/issue-59508.rs b/src/test/ui/generics/issue-59508.rs
index 0b39c5d8f..a4c7d4ff2 100644
--- a/src/test/ui/generics/issue-59508.rs
+++ b/src/test/ui/generics/issue-59508.rs
@@ -8,7 +8,7 @@ struct A;
impl A {
pub fn do_things<T, 'a, 'b: 'a>() {
- //~^ ERROR lifetime parameters must be declared prior to type parameters
+ //~^ ERROR lifetime parameters must be declared prior to type and const parameters
println!("panic");
}
}