]> git.lizzy.rs Git - rust.git/blob - tests/ui/closures/issue-90871.rs
Rollup merge of #106766 - GuillaumeGomez:rm-stripper-dead-code, r=notriddle
[rust.git] / tests / ui / closures / issue-90871.rs
1 #![feature(type_ascription)]
2
3 fn main() {
4     type_ascribe!(2, n([u8; || 1]))
5     //~^ ERROR cannot find type `n` in this scope
6     //~| ERROR mismatched types
7 }