Debian Codegraph @

gcc/testsuite/rust/compile/mismatch-crate-name.rs

raw
1 // { dg-additional-options "-frust-crate=another_name" }
2 #![crate_name = "legit_name"]
3 // { dg-error ".-frust-crate-name. and .#.crate_name.. are required to match, but .another_name. does not match .legit_name." "" { target *-*-* } .-1 }
4 fn main() {}