mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-07 17:18:32 +03:00
a68864b688
Const parameters can not be inferred with `_` help note This should close: #79557 # Example output ``` error[E0747]: type provided when a constant was expected --> inferred_const_note.rs:6:19 | 6 | let a = foo::<_, 2>([0, 1, 2]); | ^ | = help: Const parameters can not be inferred with `_` error: aborting due to previous error For more information about this error, try `rustc --explain E0747`. ``` r? `@lcnr`