]> git.lizzy.rs Git - rust.git/blob - src/test/ui/type/ascription/issue-54516.stderr
Update const_forget.rs
[rust.git] / src / test / ui / type / ascription / issue-54516.stderr
1 error: expected one of `!`, `,`, or `::`, found `(`
2   --> $DIR/issue-54516.rs:4:58
3    |
4 LL |     println!("{}", std::mem:size_of::<BTreeMap<u32, u32>>());
5    |                            -                             ^ expected one of `!`, `,`, or `::`
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: see issue #23416 <https://github.com/rust-lang/rust/issues/23416> for more information
11
12 error: aborting due to previous error
13