1
Fork 0
rust/tests/ui/save-analysis/issue-72267.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
208 B
Rust
Raw Normal View History

2020-05-18 22:48:06 +01:00
// compile-flags: -Z save-analysis
fn main() {
let _: Box<(dyn ?Sized)>;
//~^ ERROR `?Trait` is not permitted in trait object types
//~| ERROR at least one trait is required for an object type
}