]> git.lizzy.rs Git - rust.git/blob - src/test/ui/feature-gates/feature-gate-type_ascription.rs
Merge commit '9a0c32934ebe376128230aa8da3275697b2053e7' into sync_cg_clif-2021-03-05
[rust.git] / src / test / ui / feature-gates / feature-gate-type_ascription.rs
1 // Type ascription is unstable
2
3 fn main() {
4     let a = 10: u8; //~ ERROR type ascription is experimental
5 }