]>
git.proxmox.com Git - rustc.git/blob - tests/ui/impl-trait/universal_wrong_bounds.rs
3 fn foo(f
: impl Display
+ Clone
) -> String
{
9 fn wants_debug(g
: impl Debug
) { }
//~ ERROR expected trait, found derive macro `Debug`
10 fn wants_display(g
: impl Debug
) { }
//~ ERROR expected trait, found derive macro `Debug`
11 fn wants_clone(g
: impl Clone
) { }