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