]> git.lizzy.rs Git - rust.git/blob - tests/ui/deriving/derive-no-std.rs
Rollup merge of #106625 - Swatinem:ref/cov6, r=nagisa
[rust.git] / tests / 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 }