diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-12-31 00:20:41 +0100 |
|---|---|---|
| committer | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-12-31 04:33:34 +0100 |
| commit | 5a64ba63862906588b0dcd8ea2ed9884ec44f4a8 (patch) | |
| tree | 0cd9756514dc9433cebbebbdc55d231d93809634 /src/librustc_parse/parser/module.rs | |
| parent | b6fc87c5b9af5d626e2b85d008c7146a29733536 (diff) | |
| download | rust-5a64ba63862906588b0dcd8ea2ed9884ec44f4a8.tar.gz rust-5a64ba63862906588b0dcd8ea2ed9884ec44f4a8.zip | |
parser: span_fatal -> struct_span_err
Diffstat (limited to 'src/librustc_parse/parser/module.rs')
| -rw-r--r-- | src/librustc_parse/parser/module.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_parse/parser/module.rs b/src/librustc_parse/parser/module.rs index 7f5104d260d..1b7d54a1c1e 100644 --- a/src/librustc_parse/parser/module.rs +++ b/src/librustc_parse/parser/module.rs @@ -262,7 +262,7 @@ impl<'a> Parser<'a> { err.push_str(" -> "); } err.push_str(&path.to_string_lossy()); - return Err(self.span_fatal(id_sp, &err[..])); + return Err(self.struct_span_err(id_sp, &err[..])); } included_mod_stack.push(path.clone()); drop(included_mod_stack); |
