]> git.lizzy.rs Git - rust.git/blob - src/test/ui/crate-name-mismatch.rs
Rollup merge of #97317 - GuillaumeGomez:gui-settings-text-click, r=jsha
[rust.git] / src / test / ui / crate-name-mismatch.rs
1 // compile-flags: --crate-name foo
2
3 #![crate_name = "bar"]
4 //~^ ERROR: `--crate-name` and `#[crate_name]` are required to match, but `foo` != `bar`
5
6 fn main() {}