summaryrefslogtreecommitdiffstats
path: root/tests/ui/feature-gates/feature-gate-type_ascription.stderr
blob: 615d5b9a1e089f41b3ced5c8f9c82800bd69139a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
error[E0658]: type ascription is experimental
  --> $DIR/feature-gate-type_ascription.rs:4:13
   |
LL |     let a = 10: u8;
   |             ^^^^^^
   |
   = note: see issue #23416 <https://github.com/rust-lang/rust/issues/23416> for more information
   = help: add `#![feature(type_ascription)]` to the crate attributes to enable

error: aborting due to previous error

For more information about this error, try `rustc --explain E0658`.