2 // aux-build:re_rebalance_coherence_lib-rpass.rs
5 // check that a generic type with a default value from an associated type can be used without
6 // specifying the value, and without invoking coherence errors.
8 extern crate re_rebalance_coherence_lib_rpass
as lib
;
13 impl LibToOwned
for MyString
{
17 impl PartialEq
<MyString
> for LibCow
<MyString
> {
18 fn eq(&self, _other
: &MyString
) -> bool
{
19 // Test that the default type is used.
20 let _s
: &String
= &self.o
;