]> git.lizzy.rs Git - rust.git/blob - src/test/ui/closures/issue-90871.rs
Rollup merge of #105674 - estebank:iterator-chains, r=oli-obk
[rust.git] / src / test / 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 }