11 lines
198 B
Rust
11 lines
198 B
Rust
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() {}
|