blob: 93ab5dceee9477fd5671029b68ea3e58ccde423c [file] [log] [blame]
error[E0623]: lifetime mismatch
--> $DIR/implied-bounds-unnorm-associated-type.rs:14:5
|
LL | fn f<'a, 'b>(s: &'b str, _: <&'a &'b () as Trait>::Type) -> &'a str {
| ------- ----------
| |
| these two types are declared with different lifetimes...
LL | s
| ^ ...but data from `s` flows here
error: aborting due to previous error
For more information about this error, try `rustc --explain E0623`.