]> git.lizzy.rs Git - rust.git/blob - tests/ui/consts/issue-90878.rs
Rollup merge of #107058 - clubby789:eqeq-homoglyph, r=wesleywiser
[rust.git] / tests / ui / consts / issue-90878.rs
1  fn main() {
2     |x: usize| [0; x];  //~ ERROR attempt to use a non-constant value in a constant [E0435]
3     // (note the space before "fn")
4 }