fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: concrete type differs from previous defining opaque type use 2 --> $DIR/impl-fn-predefined-lifetimes.rs:7:9 3 | 4LL | |x| x 5 | ^ expected `impl Debug + '_`, got `&u8` 6 | 7note: previous use here 8 --> $DIR/impl-fn-predefined-lifetimes.rs:7:5 9 | 10LL | |x| x 11 | ^^^^^ 12 13error[E0720]: cannot resolve opaque type 14 --> $DIR/impl-fn-predefined-lifetimes.rs:4:35 15 | 16LL | fn a<'a>() -> impl Fn(&'a u8) -> (impl Debug + '_) { 17 | ^^^^^^^^^^^^^^^ cannot resolve opaque type 18 19error: aborting due to 2 previous errors 20 21For more information about this error, try `rustc --explain E0720`.