error: type ascription cannot be followed by a function call --> $DIR/issue-54516.rs:5:20 | LL | println!("{}", std::mem:size_of::>()); | ^^^^^^^^-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | | | help: maybe write a path separator here: `::` | = note: `#![feature(type_ascription)]` lets you annotate an expression with a type: `: ` error: aborting due to previous error