1 2 3 4 5
#![derive(PartialOrd, PartialEq)] // { dg-error "derive attribute cannot be used at crate level" "" { target *-*-* } .-1 } pub fn check_ge(a: i32, b: i32) -> bool { a >= b }