]> git.lizzy.rs Git - rust.git/blob - src/test/ui/traits/issue-65673.stderr
Auto merge of #87284 - Aaron1011:remove-paren-special, r=petrochenkov
[rust.git] / src / test / ui / traits / issue-65673.stderr
1 error[E0277]: the size for values of type `(dyn Trait + 'static)` cannot be known at compilation time
2   --> $DIR/issue-65673.rs:9:5
3    |
4 LL |     type Ctx;
5    |     --------- required by this bound in `WithType::Ctx`
6 ...
7 LL |     type Ctx = dyn Alias<T>;
8    |     ^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
9    |
10    = help: the trait `Sized` is not implemented for `(dyn Trait + 'static)`
11
12 error: aborting due to previous error
13
14 For more information about this error, try `rustc --explain E0277`.