--> $DIR/cannot-infer-const-args.rs:9:5
|
LL | foo();
- | ^^^ cannot infer type for fn item `fn() -> usize {foo::<{_: usize}>}`
+ | ^^^
+ |
+ = note: unable to infer the value of a const parameter
error: aborting due to previous error; 1 warning emitted