blob: 55c26ccd2da4ac2263ed414ed457981ea5ac5225 [file] [log] [blame]
pub trait Partial: Copy {
}
pub trait Complete: Partial {
}
impl<T> Partial for T where T: Complete {}
impl<T> Complete for T {} //~ ERROR the trait bound `T: Copy` is not satisfied
fn main() {}