Debian Codegraph @

gcc/testsuite/rust/compile/issue-2951.rs

raw
1 #[lang = "sized"]
2 pub trait Sized {}
3
4 #[lang = "clone"]
5 pub trait Clone: Sized {
6 fn clone(&self) -> Self;
7 }
8
9 impl Clone for ! {
10 fn clone(&self) -> Self {
11 *self
12 }
13 }