]> git.lizzy.rs Git - rust.git/blob - src/test/ui/type/ascription/issue-60933.stderr
Auto merge of #62908 - fakenine:normalize_use_of_backticks_compiler_messages_p17...
[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 `;` here
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: for more information, see https://github.com/rust-lang/rust/issues/23416
11
12 error: aborting due to previous error
13