summaryrefslogtreecommitdiffstats
path: root/tests/ui/save-analysis/issue-72267.stderr
blob: 76fc6c57cbc36d30954cc2aab0699fdcd9e28784 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
error: `?Trait` is not permitted in trait object types
  --> $DIR/issue-72267.rs:4:21
   |
LL |     let _: Box<(dyn ?Sized)>;
   |                     ^^^^^^

error[E0224]: at least one trait is required for an object type
  --> $DIR/issue-72267.rs:4:17
   |
LL |     let _: Box<(dyn ?Sized)>;
   |                 ^^^^^^^^^^

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0224`.