error[E0782]: trait objects must include the`dyn`keyword--><source>:5:14|5|fnfun() ->&Trait {|^^^^^|help: add`dyn`keyword before this trait|5|fnfun() ->&dyn Trait {|+++error: aborting due to 2 previous errorsSom
for a trait to be "object safe" it needs to allow building a vtable to allow the call to ...
for a trait to be "object safe" it needs to allow building a vtable to allow the call to ...
For both generic functions and trait objects, calling x.foo() with a bound on Sub is an error and requires UFCS. For both generic functions and trait objects, calling x.foo() with a bound on Super will resolve to Super::foo. The only difference between them is that trait objects don'...