Make --error-format human-annotate-rs
handle multiple files
This commit is contained in:
parent
092e4f46be
commit
504acf8760
4 changed files with 38 additions and 7 deletions
6
tests/ui/annotate-snippet/auxiliary/other_file.rs
Normal file
6
tests/ui/annotate-snippet/auxiliary/other_file.rs
Normal file
|
@ -0,0 +1,6 @@
|
|||
pub struct WithPrivateMethod;
|
||||
|
||||
impl WithPrivateMethod {
|
||||
/// Private to get an error involving two files
|
||||
fn private_method(&self) {}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue