]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui-cargo/cargo_common_metadata/pass/src/main.rs
Make the name of the crate available in cargo UI tests
[rust.git] / tests / ui-cargo / cargo_common_metadata / pass / src / main.rs
index c67166fc4b0074c1413b57574391ff56466e0f3b..27841e18aa9ef830cb1daf4080d0acd19a3b3c97 100644 (file)
@@ -1,3 +1,4 @@
+// compile-flags: --crate-name=cargo_common_metadata
 #![warn(clippy::cargo_common_metadata)]
 
 fn main() {}