mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-03 02:40:40 +00:00
12 lines
270 B
Rust
12 lines
270 B
Rust
//@ aux-build:close_window.rs
|
|
//@ revisions: ascii unicode
|
|
//@[unicode] compile-flags: -Zunstable-options --error-format=human-unicode
|
|
|
|
extern crate close_window;
|
|
|
|
fn main() {
|
|
let s = close_window::S;
|
|
s.method();
|
|
//[ascii]~^ ERROR method `method` is private
|
|
}
|