]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/associated-types/bound-lifetime-constrained.clause.stderr
feat(rustdoc): open sidebar menu when links inside it are focused
[rust.git] / src / test / ui / associated-types / bound-lifetime-constrained.clause.stderr
index 23a67b5b064b666ee347d1e7ed7675fd9c0e6280..f089f27f0a653973761cb0adeac06c681ca1b8f0 100644 (file)
@@ -1,11 +1,11 @@
 error[E0582]: binding for associated type `Output` references lifetime `'a`, which does not appear in the trait input types
-  --> $DIR/bound-lifetime-constrained.rs:48:63
+  --> $DIR/bound-lifetime-constrained.rs:38:63
    |
 LL | fn clause1<T>() where T: for<'a> Fn(<() as Foo<'a>>::Item) -> &'a i32 {
    |                                                               ^^^^^^^
 
 error[E0582]: binding for associated type `Output` references lifetime `'a`, which does not appear in the trait input types
-  --> $DIR/bound-lifetime-constrained.rs:53:42
+  --> $DIR/bound-lifetime-constrained.rs:43:42
    |
 LL | fn clause2<T>() where T: for<'a> Fn() -> <() as Foo<'a>>::Item {
    |                                          ^^^^^^^^^^^^^^^^^^^^^