]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-43784-supertrait.rs
Merge commit '40dd3e2b7089b5e96714e064b731f6dbf17c61a9' into sync_cg_clif-2021-05-27
[rust.git] / src / test / ui / issues / issue-43784-supertrait.rs
1 pub trait Partial: Copy {
2 }
3
4 pub trait Complete: Partial {
5 }
6
7 impl<T> Partial for T where T: Complete {}
8 impl<T> Complete for T {} //~ ERROR the trait bound `T: Copy` is not satisfied
9
10 fn main() {}