rust/tests/ui/lint/trivial-cast-ice.rs
2023-01-11 09:32:08 +00:00

13 lines
185 B
Rust

// aux-build:trivial-cast-ice.rs
// check-pass
// Demonstrates the ICE in #102561
#![deny(trivial_casts)]
extern crate trivial_cast_ice;
fn main() {
trivial_cast_ice::foo!();
}