diff options
Diffstat (limited to 'src/test/ui/coherence/coherence-bigint-param.rs')
-rw-r--r-- | src/test/ui/coherence/coherence-bigint-param.rs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/test/ui/coherence/coherence-bigint-param.rs b/src/test/ui/coherence/coherence-bigint-param.rs new file mode 100644 index 000000000..c6543aaf6 --- /dev/null +++ b/src/test/ui/coherence/coherence-bigint-param.rs @@ -0,0 +1,11 @@ +// aux-build:coherence_lib.rs + +extern crate coherence_lib as lib; +use lib::Remote1; + +pub struct BigInt; + +impl<T> Remote1<BigInt> for T { } +//~^ ERROR E0210 + +fn main() { } |