about summary refs log tree commit diff
path: root/src/libsyntax/parse
diff options
context:
space:
mode:
authorvarkor <github@varkor.com>2019-05-06 13:54:59 +0100
committervarkor <github@varkor.com>2019-05-06 13:54:59 +0100
commit638d1d34ff89803b8558713fa6d5dff79019c854 (patch)
tree4d38c8a94bba4448cc7f8a2857d9271289355f82 /src/libsyntax/parse
parent7ac02005f3d7ac4b2c32b82dde365107aa2aafdf (diff)
downloadrust-638d1d34ff89803b8558713fa6d5dff79019c854.tar.gz
rust-638d1d34ff89803b8558713fa6d5dff79019c854.zip
Remove duplicate comment
Co-Authored-By: Gabriel Smith <yodaldevoid@users.noreply.github.com>
Diffstat (limited to 'src/libsyntax/parse')
-rw-r--r--src/libsyntax/parse/parser.rs4
1 files changed, 0 insertions, 4 deletions
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())?