]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/traits/wf-trait-object-only-maybe-bound.rs
1 // Test that `dyn ?Sized` (i.e., a trait object with only a maybe buond) is not allowed.
4 //~^ ERROR at least one trait is required for an object type [E0224]
5 //~| ERROR ?Trait` is not permitted in trait object types