error[E0790]: cannot call associated function on trait without specifying the corresponding `impl` type --> $DIR/issue-101866.rs:12:5 | LL | fn func(); | ---------- `TraitA::func` defined here ... LL | TraitA::::func(); | ^^^^^^^^^^^^^^^^^^^ cannot call associated function of trait | help: use the fully-qualified path to the only available implementation | LL - TraitA::::func(); LL + >::func(); | error: aborting due to previous error For more information about this error, try `rustc --explain E0790`.