fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0283]: type annotations needed: cannot satisfy `&'a (): Foo` 2 --> $DIR/issue-34979.rs:6:13 3 | 4LL | &'a (): Foo, 5 | ^^^ 6 | 7note: multiple `impl`s or `where` clauses satisfying `&'a (): Foo` found 8 --> $DIR/issue-34979.rs:2:1 9 | 10LL | impl<'a, T> Foo for &'a T {} 11 | ^^^^^^^^^^^^^^^^^^^^^^^^^ 12... 13LL | &'a (): Foo, 14 | ^^^ 15LL | &'static (): Foo; 16 | ^^^ 17 18error: aborting due to previous error 19 20For more information about this error, try `rustc --explain E0283`.