diff options
| author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2022-07-28 16:38:35 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-28 16:38:35 +0530 |
| commit | 71b0e95b8219e3a930e1009d4c4fbd1ea3799ce6 (patch) | |
| tree | 0b398713281af3eaab8ee018b275e9bab9a163a0 /compiler/rustc_parse/src | |
| parent | 3a37c9a47eaf55cc76f313331f375559993b3ab1 (diff) | |
| parent | 2ce42eb79cb66d4e1fc80cdba9547b2603824537 (diff) | |
| download | rust-71b0e95b8219e3a930e1009d4c4fbd1ea3799ce6.tar.gz rust-71b0e95b8219e3a930e1009d4c4fbd1ea3799ce6.zip | |
Rollup merge of #99846 - TaKO8Ki:refactor-UnresolvedImportError, r=davidtwco
Refactor `UnresolvedImportError` This patch changes the type of `note` field in `UnresolvedImportError` to `Option<String>`.
Diffstat (limited to 'compiler/rustc_parse/src')
| -rw-r--r-- | compiler/rustc_parse/src/parser/item.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/rustc_parse/src/parser/item.rs b/compiler/rustc_parse/src/parser/item.rs index 87bc0d9762e..a14a7fc0610 100644 --- a/compiler/rustc_parse/src/parser/item.rs +++ b/compiler/rustc_parse/src/parser/item.rs @@ -1677,7 +1677,6 @@ impl<'a> Parser<'a> { } /// Is this a possibly malformed start of a `macro_rules! foo` item definition? - fn is_macro_rules_item(&mut self) -> IsMacroRulesItem { if self.check_keyword(kw::MacroRules) { let macro_rules_span = self.token.span; |
