1 error: casts cannot be followed by a function call
2 --> $DIR/issue-60933.rs:2:20
4 LL | let u: usize = std::mem:size_of::<u32>();
5 | ^^^^^^^^-^^^^^^^^^^^^^^
7 | help: maybe write a path separator here: `::`
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
12 error[E0423]: expected value, found module `std::mem`
13 --> $DIR/issue-60933.rs:2:20
15 LL | let u: usize = std::mem:size_of::<u32>();
16 | ^^^^^^^^- help: maybe you meant to write a path separator here: `::`
20 error[E0412]: cannot find type `size_of` in this scope
21 --> $DIR/issue-60933.rs:2:29
23 LL | let u: usize = std::mem:size_of::<u32>();
24 | -^^^^^^^ not found in this scope
26 | help: maybe you meant to write a path separator here: `::`
28 error: aborting due to 3 previous errors
30 Some errors have detailed explanations: E0412, E0423.
31 For more information about an error, try `rustc --explain E0412`.