]> git.proxmox.com Git - rustc.git/blame - src/test/ui/type/ascription/issue-60933.stderr
New upstream version 1.64.0+dfsg1
[rustc.git] / src / test / ui / type / ascription / issue-60933.stderr
CommitLineData
064997fb 1error: type ascription cannot be followed by a function call
3dfed10e 2 --> $DIR/issue-60933.rs:3:20
416331ca 3 |
3dfed10e 4LL | let _: usize = std::mem:size_of::<u32>();
74b04a01 5 | ^^^^^^^^-^^^^^^^^^^^^^^
416331ca
XL
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>`
416331ca 10
3dfed10e 11error: aborting due to previous error
416331ca 12