]> git.lizzy.rs Git - rust.git/blob - tests/ui/stability-attribute/generics-default-stability-where.rs
Rollup merge of #106670 - albertlarsan68:check-docs-in-pr-ci, r=Mark-Simulacrum
[rust.git] / tests / ui / stability-attribute / generics-default-stability-where.rs
1 // aux-build:unstable_generic_param.rs
2
3 extern crate unstable_generic_param;
4
5 use unstable_generic_param::*;
6
7 impl<T> Trait3<usize> for T where T: Trait2<usize> { //~ ERROR use of unstable library feature 'unstable_default'
8     fn foo() -> usize { T::foo() }
9 }
10
11 fn main() {}