mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-17 22:09:53 +00:00
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() {}
|