]> git.lizzy.rs Git - rust.git/blob - src/test/ui/argument-suggestions/display-is-suggestable.rs
Rollup merge of #105683 - JakobDegen:dest-prop-storage, r=tmiasko
[rust.git] / src / test / ui / argument-suggestions / display-is-suggestable.rs
1 use std::fmt::Display;
2
3 fn foo(x: &(dyn Display + Send)) {}
4
5 fn main() {
6     foo();
7     //~^ ERROR this function takes 1 argument but 0 arguments were supplied
8 }