about summary refs log tree commit diff
path: root/tests/ui/impl-trait/impl-fn-predefined-lifetimes.rs
diff options
context:
space:
mode:
authorJake Goulding <jake.goulding@gmail.com>2025-03-17 12:43:55 -0400
committerJake Goulding <jake.goulding@gmail.com>2025-06-04 10:40:04 -0400
commitd35ad948492146f0811d43606db66c65c55980a9 (patch)
tree7a4a6e2aa54e85dd7cc4d61c25971e89ffd9e97b /tests/ui/impl-trait/impl-fn-predefined-lifetimes.rs
parent9a50cb4a0caa07b7b751afb70464066e4d6985d3 (diff)
downloadrust-d35ad948492146f0811d43606db66c65c55980a9.tar.gz
rust-d35ad948492146f0811d43606db66c65c55980a9.zip
Replace `elided_named_lifetimes` with `mismatched_lifetime_syntaxes`
Diffstat (limited to 'tests/ui/impl-trait/impl-fn-predefined-lifetimes.rs')
-rw-r--r--tests/ui/impl-trait/impl-fn-predefined-lifetimes.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/ui/impl-trait/impl-fn-predefined-lifetimes.rs b/tests/ui/impl-trait/impl-fn-predefined-lifetimes.rs
index 776bb7278ce..199cbbf4fcc 100644
--- a/tests/ui/impl-trait/impl-fn-predefined-lifetimes.rs
+++ b/tests/ui/impl-trait/impl-fn-predefined-lifetimes.rs
@@ -2,7 +2,6 @@
 use std::fmt::Debug;
 
 fn a<'a>() -> impl Fn(&'a u8) -> (impl Debug + '_) {
-    //~^ WARNING elided lifetime has a name
     |x| x
     //~^ ERROR expected generic lifetime parameter, found `'_`
 }