diff options
| author | Dániel Buga <bugadani@gmail.com> | 2021-02-20 10:51:26 +0100 |
|---|---|---|
| committer | Dániel Buga <bugadani@gmail.com> | 2021-02-20 10:51:26 +0100 |
| commit | 10f234240dd9e790cc222570d99d7a320fa88d8e (patch) | |
| tree | 2b0e79ef6a97456b82ed94626ef466444461e485 /compiler/rustc_parse/src/parser | |
| parent | b75baad5c3fcb85676c4df648962e53c9756e7ba (diff) | |
| download | rust-10f234240dd9e790cc222570d99d7a320fa88d8e.tar.gz rust-10f234240dd9e790cc222570d99d7a320fa88d8e.zip | |
Remove some P-s
Diffstat (limited to 'compiler/rustc_parse/src/parser')
| -rw-r--r-- | compiler/rustc_parse/src/parser/item.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_parse/src/parser/item.rs b/compiler/rustc_parse/src/parser/item.rs index 0f907859a19..98800bac27b 100644 --- a/compiler/rustc_parse/src/parser/item.rs +++ b/compiler/rustc_parse/src/parser/item.rs @@ -225,7 +225,7 @@ impl<'a> Parser<'a> { return Err(e); } - (Ident::invalid(), ItemKind::Use(P(tree))) + (Ident::invalid(), ItemKind::Use(tree)) } else if self.check_fn_front_matter() { // FUNCTION ITEM let (ident, sig, generics, body) = self.parse_fn(attrs, req_name, lo)?; |
