blob: 0b7f8edf62402612b88b844e885f950c9e19e602 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
error: type ascription cannot be followed by a function call
--> $DIR/issue-60933.rs:3:20
|
LL | let _: usize = std::mem:size_of::<u32>();
| ^^^^^^^^-^^^^^^^^^^^^^^
| |
| help: maybe write a path separator here: `::`
|
= note: `#![feature(type_ascription)]` lets you annotate an expression with a type: `<expr>: <type>`
error: aborting due to previous error
|