mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-05 13:13:40 +00:00
01b75e20f2
to avoid going over the existing limit now that the ui-fulldeps tests have been moved to ui.
12 lines
351 B
Rust
12 lines
351 B
Rust
// aux-build:xc-private-method-lib.rs
|
|
|
|
extern crate xc_private_method_lib;
|
|
|
|
fn main() {
|
|
let _ = xc_private_method_lib::Struct::static_meth_struct();
|
|
//~^ ERROR: associated function `static_meth_struct` is private
|
|
|
|
let _ = xc_private_method_lib::Enum::static_meth_enum();
|
|
//~^ ERROR: associated function `static_meth_enum` is private
|
|
}
|