about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/debug.rs
diff options
context:
space:
mode:
authorest31 <MTest31@outlook.com>2023-05-17 04:56:59 +0200
committerest31 <MTest31@outlook.com>2023-05-18 13:16:17 +0200
commit30c0e4e72b85c7d125dd05a071027965e2236d64 (patch)
tree9f4ce0962c234a3fcdc3bf455c460ea7a8e3c106 /compiler/rustc_mir_transform/src/coverage/debug.rs
parentc2ccc855e74aec03e434405eca3c247ee2432e53 (diff)
downloadrust-30c0e4e72b85c7d125dd05a071027965e2236d64.tar.gz
rust-30c0e4e72b85c7d125dd05a071027965e2236d64.zip
Add more tests for the offset_of!() macro
* ensuring that offset_of!(Self, ...) works iff inside an impl block
* ensuring that the output type is usize and doesn't coerce. this can be
  changed in the future, but if it is done, it should be a conscious descision
* improving the privacy checking test
* ensuring that generics don't let you escape the unsized check
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/debug.rs')
0 files changed, 0 insertions, 0 deletions