2015-12-30 07:00:05 -08:00
|
|
|
// The error here is strictly due to orphan rules; the impl here
|
|
|
|
// generalizes the one upstream
|
2014-02-04 14:31:00 +13:00
|
|
|
|
|
|
|
// aux-build:trait_impl_conflict.rs
|
2018-12-29 00:11:13 +01:00
|
|
|
|
2014-02-14 10:10:06 -08:00
|
|
|
extern crate trait_impl_conflict;
|
2014-02-04 14:31:00 +13:00
|
|
|
use trait_impl_conflict::Foo;
|
|
|
|
|
2021-10-21 15:36:35 +02:00
|
|
|
impl<A> Foo for A { //~ ERROR E0210
|
2014-02-04 14:31:00 +13:00
|
|
|
}
|
|
|
|
|
|
|
|
fn main() {
|
|
|
|
}
|