Merge #9482
9482: minor: better error message r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
This commit is contained in:
commit
2885c89bfd
@ -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…
x
Reference in New Issue
Block a user