1 error[E0277]: `u16` needs to be a pointer-sized type
2 --> $DIR/pointer-sized.rs:9:27
4 LL | require_pointer_sized(1u16);
5 | --------------------- ^^^^ the trait `PointerSized` is not implemented for `u16`
7 | required by a bound introduced by this call
9 = note: the trait bound `u16: PointerSized` is not satisfied
10 note: required by a bound in `require_pointer_sized`
11 --> $DIR/pointer-sized.rs:5:34
13 LL | fn require_pointer_sized(_: impl PointerSized) {}
14 | ^^^^^^^^^^^^ required by this bound in `require_pointer_sized`
15 help: consider borrowing here
17 LL | require_pointer_sized(&1u16);
19 LL | require_pointer_sized(&mut 1u16);
22 error: aborting due to previous error
24 For more information about this error, try `rustc --explain E0277`.