]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/associated-types/bound-lifetime-in-return-only.local.stderr
Rollup merge of #76468 - SNCPlay42:lifetime-names, r=Mark-Simulacrum
[rust.git] / src / test / ui / associated-types / bound-lifetime-in-return-only.local.stderr
index ce2cfa6765d17343209b2c0aa913e8fbdfdbd4a1..788cf667c8d286d802f65d6fdcef06191a49f8e3 100644 (file)
@@ -1,5 +1,5 @@
 error[E0581]: return type references lifetime `'a`, which is not constrained by the fn input types
-  --> $DIR/bound-lifetime-in-return-only.rs:33:28
+  --> $DIR/bound-lifetime-in-return-only.rs:23:28
    |
 LL |     let _: for<'a> fn() -> &'a i32 = loop { };
    |                            ^^^^^^^