]> git.lizzy.rs Git - rust.git/blob - src/test/ui/type/ascription/issue-60933.stderr
Update const_forget.rs
[rust.git] / src / test / ui / type / ascription / issue-60933.stderr
1 error: expected one of `!`, `::`, or `;`, found `(`
2   --> $DIR/issue-60933.rs:2:43
3    |
4 LL |     let u: usize = std::mem:size_of::<u32>();
5    |                            -              ^ expected one of `!`, `::`, or `;`
6    |                            |
7    |                            help: maybe write a path separator here: `::`
8    |
9    = note: `#![feature(type_ascription)]` lets you annotate an expression with a type: `<expr>: <type>`
10    = note: see issue #23416 <https://github.com/rust-lang/rust/issues/23416> for more information
11
12 error: aborting due to previous error
13