remove support for rustc_intrinsic_must_be_overridden from the compiler
This commit is contained in:
parent
5a58a922e2
commit
6eea027aa9
24 changed files with 70 additions and 203 deletions
|
@ -51,10 +51,7 @@ enum Ordering {
|
|||
}
|
||||
|
||||
#[rustc_intrinsic]
|
||||
#[rustc_intrinsic_must_be_overridden]
|
||||
fn three_way_compare<T: Copy>(lhs: T, rhs: T) -> Ordering {
|
||||
loop {}
|
||||
}
|
||||
fn three_way_compare<T: Copy>(lhs: T, rhs: T) -> Ordering;
|
||||
|
||||
// ^^^^^ core
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue