about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/debug.rs
diff options
context:
space:
mode:
authorGurinder Singh <gurinder.singh@1e.com>2023-09-09 12:30:25 +0530
committerGurinder Singh <gurinder.singh@1e.com>2023-09-09 12:30:25 +0530
commite7c51320dbe1c5120596265a993dd42f5f11aaf4 (patch)
treedc88e77525bd116699c298a1b809931bf988d41a /compiler/rustc_mir_transform/src/coverage/debug.rs
parent5ede9408945b46ab183dd228253297bdf62304f7 (diff)
downloadrust-e7c51320dbe1c5120596265a993dd42f5f11aaf4.tar.gz
rust-e7c51320dbe1c5120596265a993dd42f5f11aaf4.zip
Fix ICE in improper_ctypes_definitions lint
The lint panicked for an input like 'extern "C" fn(Option<&<T as FooTrait>::FooType>)' because the type T therein cannot be normalized. The normalization failure caused SizeSkeleton::compute() to return an error and trigger a panic in the unwrap().
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/debug.rs')
0 files changed, 0 insertions, 0 deletions