2022-11-19 15:11:00 -06:00
|
|
|
#![feature(type_ascription)]
|
|
|
|
|
2022-08-03 04:51:21 -05:00
|
|
|
fn main() {
|
2022-11-19 15:11:00 -06:00
|
|
|
type_ascribe!(2, n([u8; || 1]))
|
2022-08-03 04:51:21 -05:00
|
|
|
//~^ ERROR cannot find type `n` in this scope
|
|
|
|
//~| ERROR mismatched types
|
|
|
|
}
|