]> git.lizzy.rs Git - rust.git/blob - tests/ui/type/missing-let-in-binding.stderr
Make `output_filenames` a real query
[rust.git] / tests / ui / type / missing-let-in-binding.stderr
1 error[E0658]: type ascription is experimental
2   --> $DIR/missing-let-in-binding.rs:4:5
3    |
4 LL |     _foo: i32 = 4;
5    |     ^^^^^^^^^
6    |
7    = note: see issue #23416 <https://github.com/rust-lang/rust/issues/23416> for more information
8    = help: add `#![feature(type_ascription)]` to the crate attributes to enable
9 help: you might have meant to introduce a new binding
10    |
11 LL |     let _foo: i32 = 4;
12    |     +++
13
14 error: aborting due to previous error
15
16 For more information about this error, try `rustc --explain E0658`.