fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0061]: this function takes 1 argument but 0 arguments were supplied 2 --> $DIR/display-is-suggestable.rs:6:5 3 | 4LL | foo(); 5 | ^^^-- an argument of type `&dyn std::fmt::Display + Send` is missing 6 | 7note: function defined here 8 --> $DIR/display-is-suggestable.rs:3:4 9 | 10LL | fn foo(x: &(dyn Display + Send)) {} 11 | ^^^ ------------------------ 12help: provide the argument 13 | 14LL | foo(/* &dyn std::fmt::Display + Send */); 15 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 16 17error: aborting due to previous error 18 19For more information about this error, try `rustc --explain E0061`.