1 #![feature(specialization)]
8 // @has default_trait_method/trait.Item.html
9 // @has - '//*[@id="method.foo"]' 'default fn foo()'
10 // @has - '//*[@id="method.bar"]' 'fn bar()'
11 // @!has - '//*[@id="method.bar"]' 'default fn bar()'
12 impl<T: ?Sized> Item for T {