From 638d1d34ff89803b8558713fa6d5dff79019c854 Mon Sep 17 00:00:00 2001 From: varkor Date: Mon, 6 May 2019 13:54:59 +0100 Subject: Remove duplicate comment Co-Authored-By: Gabriel Smith --- src/libsyntax/parse/parser.rs | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/libsyntax') diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs index d46feeab335..084091f4c2a 100644 --- a/src/libsyntax/parse/parser.rs +++ b/src/libsyntax/parse/parser.rs @@ -6045,10 +6045,6 @@ impl<'a> Parser<'a> { }); assoc_ty_bindings.push(span); } else if self.check_const_arg() { - // FIXME(const_generics): to distinguish between idents for types and consts, - // we should introduce a GenericArg::Ident in the AST and distinguish when - // lowering to the HIR. For now, idents for const args are not permitted. - // Parse const argument. let expr = if let token::OpenDelim(token::Brace) = self.token { self.parse_block_expr(None, self.span, BlockCheckMode::Default, ThinVec::new())? -- cgit 1.4.1-3-g733a5