diff options
| author | Gurinder Singh <gurinder.singh@1e.com> | 2023-09-09 12:30:25 +0530 |
|---|---|---|
| committer | Gurinder Singh <gurinder.singh@1e.com> | 2023-09-09 12:30:25 +0530 |
| commit | e7c51320dbe1c5120596265a993dd42f5f11aaf4 (patch) | |
| tree | dc88e77525bd116699c298a1b809931bf988d41a /compiler/rustc_mir_transform/src/coverage/debug.rs | |
| parent | 5ede9408945b46ab183dd228253297bdf62304f7 (diff) | |
| download | rust-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
