summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui/crashes/ice-9414.rs
blob: 02cf5d5c240fa131765f8a9e77cbbfc36f6d336b (plain)
1
2
3
4
5
6
7
8
#![warn(clippy::result_large_err)]

trait T {}
fn f(_: &u32) -> Result<(), *const (dyn '_ + T)> {
    Ok(())
}

fn main() {}