1 error[E0308]: mismatched types
2 --> $DIR/async-reference-generality.rs:23:5
5 LL | | let _x = Struct::<Empty<&'static ()>, _>(PhantomData);
8 | |_____^ one type is more general than the other
10 = note: expected reference `&()`
13 error[E0308]: mismatched types
14 --> $DIR/async-reference-generality.rs:23:5
17 LL | | let _x = Struct::<Empty<&'static ()>, _>(PhantomData);
18 LL | | async {}.await;
20 | |_____^ one type is more general than the other
22 = note: expected reference `&()`
25 error: aborting due to 2 previous errors
27 For more information about this error, try `rustc --explain E0308`.