#![feature(trait_alias)] trait Foo {} trait A {} trait B = A; //~ ERROR `T: Foo` is not satisfied fn main() {}