]> git.proxmox.com Git - rustc.git/blob - tests/ui/argument-suggestions/display-is-suggestable.rs
New upstream version 1.68.2+dfsg1
[rustc.git] / tests / 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 function takes 1 argument but 0 arguments were supplied
8 }