1 error[E0423]: expected value, found builtin type `u16`
2 --> $DIR/resolve-primitive-fallback.rs:3:23
4 LL | std::mem::size_of(u16);
7 error[E0412]: cannot find type `u8` in the crate root
8 --> $DIR/resolve-primitive-fallback.rs:8:14
11 | ^^ not found in the crate root
13 help: consider importing this builtin type
15 LL | use std::primitive::u8;
18 error[E0061]: this function takes 0 arguments but 1 argument was supplied
19 --> $DIR/resolve-primitive-fallback.rs:3:5
21 LL | std::mem::size_of(u16);
22 | ^^^^^^^^^^^^^^^^^ --- supplied 1 argument
24 | expected 0 arguments
26 note: function defined here
27 --> $SRC_DIR/core/src/mem/mod.rs:LL:COL
29 LL | pub const fn size_of<T>() -> usize {
32 error: aborting due to 3 previous errors
34 Some errors have detailed explanations: E0061, E0412, E0423.
35 For more information about an error, try `rustc --explain E0061`.