diff options
| author | est31 <MTest31@outlook.com> | 2023-05-17 04:56:59 +0200 |
|---|---|---|
| committer | est31 <MTest31@outlook.com> | 2023-05-18 13:16:17 +0200 |
| commit | 30c0e4e72b85c7d125dd05a071027965e2236d64 (patch) | |
| tree | 9f4ce0962c234a3fcdc3bf455c460ea7a8e3c106 /compiler/rustc_mir_transform/src/coverage/debug.rs | |
| parent | c2ccc855e74aec03e434405eca3c247ee2432e53 (diff) | |
| download | rust-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
