rust-clippy/tests/ui/crashes/ice-9414.rs

9 lines
125 B
Rust
Raw Normal View History

#![warn(clippy::result_large_err)]
trait T {}
fn f(_: &u32) -> Result<(), *const (dyn '_ + T)> {
Ok(())
}
fn main() {}