Test fixes and rebase conflicts
This commit is contained in:
parent
eace6afed2
commit
631896dc19
2 changed files with 6 additions and 8 deletions
|
@ -253,10 +253,8 @@ pub fn file_to_filemap(sess: &ParseSess, path: &Path, spanopt: Option<Span>)
|
|||
let bytes = match File::open(path).read_to_end() {
|
||||
Ok(bytes) => bytes,
|
||||
Err(e) => {
|
||||
let error_msg = e.desc;
|
||||
err(&format!("couldn't read {:?}: {}",
|
||||
path.display(),
|
||||
error_msg)[]);
|
||||
path.display(), e)[]);
|
||||
unreachable!()
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue