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