1 error[E0308]: mismatched types
2 --> $DIR/wf_obligation.rs:17:17
4 LL | foo::<_, L>([(); L + 1 + L]);
5 | ^^^^^^^^^^^^^^^ expected `N + 1 + M`, found `L + 1 + L`
7 = note: expected constant `N + 1 + M`
8 found constant `L + 1 + L`
10 error: unconstrained generic constant
11 --> $DIR/wf_obligation.rs:17:22
13 LL | foo::<_, L>([(); L + 1 + L]);
16 = help: try adding a `where` bound using this expression: `where [(); L + 1 + L]:`
18 error: aborting due to 2 previous errors
20 For more information about this error, try `rustc --explain E0308`.