]> git.lizzy.rs Git - rust.git/blob - src/test/ui/rmeta-priv-warn.rs
Auto merge of #75936 - sdroege:chunks-exact-construction-bounds-check, r=nagisa
[rust.git] / src / test / ui / rmeta-priv-warn.rs
1 // compile-flags: --emit=metadata
2 // no-prefer-dynamic
3 // build-pass (FIXME(62277): could be check-pass?)
4
5 #[deny(warnings)]
6
7 // Test that we don't get warnings for non-pub main when only emitting metadata.
8 // (#38273)
9
10 fn main() {
11 }