]> git.lizzy.rs Git - rust.git/blob - src/test/ui/associated-const/associated-const-in-trait.stderr
Auto merge of #54624 - arielb1:evaluate-outlives, r=nikomatsakis
[rust.git] / src / test / ui / associated-const / associated-const-in-trait.stderr
1 error[E0038]: the trait `Trait` cannot be made into an object
2   --> $DIR/associated-const-in-trait.rs:19:6
3    |
4 LL | impl Trait {
5    |      ^^^^^ the trait `Trait` cannot be made into an object
6    |
7    = note: the trait cannot contain associated consts like `N`
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0038`.