// edition:2021 trait Foo {} impl dyn Foo { fn hi(_x: T) {} } fn main() { Foo::hi(123); //~^ ERROR trait objects must include the `dyn` keyword }