mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-27 05:23:24 +00:00
minor: better error message
This commit is contained in:
parent
266636450d
commit
c2704bebc1
1 changed files with 1 additions and 1 deletions
|
@ -183,7 +183,7 @@ fn self_hosting_parsing() {
|
|||
if !errors.is_empty() {
|
||||
let errors = errors
|
||||
.into_iter()
|
||||
.map(|(path, err)| format!("{}: {:?}\n", path.display(), err))
|
||||
.map(|(path, err)| format!("{}: {:?}\n", path.display(), err[0]))
|
||||
.collect::<String>();
|
||||
panic!("Parsing errors:\n{}\n", errors);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue