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
237 B
Rust
Raw Normal View History

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