LL | trait Bar {
| --- this trait cannot be made into an object...
LL | const X: usize;
- | - ...because it cannot contain associated consts like `X`
+ | - ...because it contains this associated `const`
...
LL | fn make_bar<T:Bar>(t: &T) -> &dyn Bar {
| ^^^^^^^^ the trait `Bar` cannot be made into an object