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

9 lines
125 B
Rust

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