Driveby cleanup of the impl for negation, which had some kind of
surprising casts. This version more obviously corresponds to the builtin semantics.
This commit is contained in:
parent
d649292e60
commit
d6466ff13a
2 changed files with 4 additions and 22 deletions
|
|
@ -23,4 +23,6 @@ fn main() {
|
|||
unsafe { libc::exit(0 as libc::c_int); }
|
||||
});
|
||||
2_usize + (loop {});
|
||||
//~^ ERROR E0277
|
||||
//~| ERROR E0277
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue