rust/tests/ui/diagnostic-width/tab-column-numbers.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
282 B
Rust
Raw Normal View History

// Test for #109537: ensure that column numbers are correctly generated when using hard tabs.
// aux-build:tab_column_numbers.rs
// ignore-tidy-tab
extern crate tab_column_numbers;
fn main() {
let s = tab_column_numbers::S;
s.method();
//~^ ERROR method `method` is private
}