blob: 4afbca26264918ee5a3c6d72404b91ea3f1f1014 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
// aux-build:unstable_generic_param.rs
extern crate unstable_generic_param;
use unstable_generic_param::*;
impl<T> Trait3<usize> for T where T: Trait2<usize> { //~ ERROR use of unstable library feature 'unstable_default'
fn foo() -> usize { T::foo() }
}
fn main() {}
|