1 error[E0308]: mismatched types
2 --> $DIR/no-implicit-dyn-star.rs:6:48
4 LL | dyn_star_foreign::require_dyn_star_display(1usize);
5 | ------------------------------------------ ^^^^^^ expected trait object `dyn std::fmt::Display`, found `usize`
7 | arguments to this function are incorrect
9 = note: expected trait object `(dyn* std::fmt::Display + 'static)`
11 note: function defined here
12 --> $DIR/auxiliary/dyn-star-foreign.rs:6:8
14 LL | pub fn require_dyn_star_display(_: dyn* Display) {}
15 | ^^^^^^^^^^^^^^^^^^^^^^^^
17 error: aborting due to previous error
19 For more information about this error, try `rustc --explain E0308`.