diff options
| author | Martin Nordholts <enselic@gmail.com> | 2023-07-24 14:40:44 +0200 |
|---|---|---|
| committer | Martin Nordholts <enselic@gmail.com> | 2023-07-24 16:29:58 +0200 |
| commit | 504acf876035fa2b944c64d01f6fe66b30acf1e4 (patch) | |
| tree | a2421ec0528623e88de1b0020a0ebaa9a7597ac6 /tests/ui/annotate-snippet/multiple-files.rs | |
| parent | 092e4f46be168ab24d53e4141086b2cf04822b8e (diff) | |
| download | rust-504acf876035fa2b944c64d01f6fe66b30acf1e4.tar.gz rust-504acf876035fa2b944c64d01f6fe66b30acf1e4.zip | |
Make `--error-format human-annotate-rs` handle multiple files
Diffstat (limited to 'tests/ui/annotate-snippet/multiple-files.rs')
| -rw-r--r-- | tests/ui/annotate-snippet/multiple-files.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/ui/annotate-snippet/multiple-files.rs b/tests/ui/annotate-snippet/multiple-files.rs new file mode 100644 index 00000000000..981cdbb10a9 --- /dev/null +++ b/tests/ui/annotate-snippet/multiple-files.rs @@ -0,0 +1,8 @@ +// aux-build:other_file.rs +// compile-flags: --error-format human-annotate-rs -Z unstable-options + +extern crate other_file; + +fn main() { + other_file::WithPrivateMethod.private_method(); +} |
