]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/extern-flag/multiple-opts.rs
1 // aux-crate:priv,noprelude:somedep=somedep.rs
2 // compile-flags: -Zunstable-options
5 // Test for multiple options to --extern. Can't test for errors from both
6 // options at the same time, so this only checks that noprelude is honored.
8 #![warn(exported_private_dependencies)]
10 // Module to avoid adding to prelude.
13 pub struct PublicType
{
14 pub field
: somedep
::S
,
19 somedep
::somefun(); //~ ERROR failed to resolve