// run-pass // Test that the cache results from the default method do not pollute // the cache for the later call in `load()`. // // See issue #18209. // pretty-expanded FIXME #23616 pub trait Foo { fn load_from() -> Box; fn load() -> Box { Foo::load_from() } } pub fn load() -> Box { Foo::load() } fn main() { }