mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-16 23:31:07 +00:00
9 lines
157 B
Rust
9 lines
157 B
Rust
use std::fmt::Display;
|
|
|
|
fn foo(x: &(dyn Display + Send)) {}
|
|
|
|
fn main() {
|
|
foo();
|
|
//~^ ERROR function takes 1 argument but 0 arguments were supplied
|
|
}
|