summaryrefslogtreecommitdiffstats
path: root/tests/ui/rmeta/rmeta-priv-warn.rs
blob: 430c1f06f43ac3c71bd27602d8ee7fce40dc5a91 (plain)
1
2
3
4
5
6
7
8
9
10
11
// compile-flags: --emit=metadata
// no-prefer-dynamic
// build-pass (FIXME(62277): could be check-pass?)

#[deny(warnings)]

// Test that we don't get warnings for non-pub main when only emitting metadata.
// (#38273)

fn main() {
}