about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2017-09-29 12:36:32 -0700
committerJosh Stone <jistone@redhat.com>2017-09-29 12:36:32 -0700
commit3580c4c58940ad5d62a068609b9b696e8eb31309 (patch)
tree5ac0fef4f8ff1a7ec9c89744f2f1e5736216ed43 /src/test/incremental/thinlto
parent688a8583912a305f14ebc8bc21a2dd3cd3c912b0 (diff)
downloadrust-3580c4c58940ad5d62a068609b9b696e8eb31309.tar.gz
rust-3580c4c58940ad5d62a068609b9b696e8eb31309.zip
Remove `T: Sized` on `ptr::is_null()`, `as_ref()`, `as_mut()`
`NonZero::is_zero()` was already casting all pointers to thin `*mut u8`
to check for null.  It seems reasonable to apply that for `is_null()` in
general, and then unsized fat pointers can also be used with `as_ref()`
and `as_mut()` to get fat references.
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions