]> git.lizzy.rs Git - rust.git/blob - src/test/ui/associated-types/higher-ranked-projection.bad.stderr
Rollup merge of #76468 - SNCPlay42:lifetime-names, r=Mark-Simulacrum
[rust.git] / src / test / ui / associated-types / higher-ranked-projection.bad.stderr
1 error[E0308]: mismatched types
2   --> $DIR/higher-ranked-projection.rs:25:5
3    |
4 LL |     foo(());
5    |     ^^^ one type is more general than the other
6    |
7    = note: expected type `&'a ()`
8               found type `&()`
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0308`.