1 error[E0393]: the type parameter `T` must be explicitly specified
2 --> $DIR/type-parameter-defaults-referencing-Self.rs:8:16
4 LL | / trait Foo<T=Self> {
5 LL | | fn method(&self);
7 | |_- type parameter `T` must be specified for this
9 LL | fn foo(x: &dyn Foo) { }
10 | ^^^ help: set the type parameter to the desired type: `Foo<T>`
12 = note: because of the default `Self` reference, type parameters must be specified on object types
14 error: aborting due to previous error
16 For more information about this error, try `rustc --explain E0393`.