]> git.lizzy.rs Git - rust.git/blob - src/test/ui/deriving/derive-no-std.rs
:arrow_up: rust-analyzer
[rust.git] / src / test / ui / deriving / derive-no-std.rs
1 // run-pass
2 // aux-build:derive-no-std.rs
3
4 extern crate derive_no_std;
5 use derive_no_std::*;
6
7 fn main() {
8     let f = Foo { x: 0 };
9     assert_eq!(f.clone(), Foo::default());
10
11     assert!(Bar::Qux < Bar::Quux(42));
12 }