summary refs log tree commit diff
path: root/src/test/ui/coherence/coherence-bigint-param.rs
blob: 24106b4b348d4f149a08deccb6236998689defb8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// aux-build:coherence_lib.rs
// revisions: old re

#![cfg_attr(re, feature(re_rebalance_coherence))]

extern crate coherence_lib as lib;
use lib::Remote1;

pub struct BigInt;

impl<T> Remote1<BigInt> for T { }
//[old]~^ ERROR type parameter `T` must be used as the type parameter for some local type
//[re]~^^ ERROR E0210

fn main() { }