about summary refs log tree commit diff
path: root/tests/ui/error-emitter/close_window.rs
blob: 879507c287a71d6256b41b46a10e511a0e751288 (plain)
1
2
3
4
5
6
7
8
9
10
11
//@ 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
}