rust/tests/ui/rmeta/rmeta-priv-warn.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
234 B
Rust
Raw Normal View History

2016-12-27 20:35:48 +00:00
// compile-flags: --emit=metadata
// no-prefer-dynamic
// build-pass (FIXME(62277): could be check-pass?)
2016-12-27 20:35:48 +00:00
#[deny(warnings)]
// Test that we don't get warnings for non-pub main when only emitting metadata.
// (#38273)
fn main() {
}