mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 01:04:03 +00:00
15 lines
408 B
Plaintext
15 lines
408 B
Plaintext
error: [o, o]
|
|
--> $DIR/capture-lifetime-not-in-hir.rs:8:29
|
|
|
|
|
LL | fn foo<'a, T: Bar<'a>>() -> impl Into<T::Assoc> {
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: [o, o, o]
|
|
--> $DIR/capture-lifetime-not-in-hir.rs:14:30
|
|
|
|
|
LL | fn foo2<'a, T: Bar<'a>>() -> impl Into<T::Assoc> + 'a {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: aborting due to 2 previous errors
|
|
|