We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ac0200 commit 638d1d3Copy full SHA for 638d1d3
src/libsyntax/parse/parser.rs
@@ -6045,10 +6045,6 @@ impl<'a> Parser<'a> {
6045
});
6046
assoc_ty_bindings.push(span);
6047
} else if self.check_const_arg() {
6048
- // FIXME(const_generics): to distinguish between idents for types and consts,
6049
- // we should introduce a GenericArg::Ident in the AST and distinguish when
6050
- // lowering to the HIR. For now, idents for const args are not permitted.
6051
-
6052
// Parse const argument.
6053
let expr = if let token::OpenDelim(token::Brace) = self.token {
6054
self.parse_block_expr(None, self.span, BlockCheckMode::Default, ThinVec::new())?
0 commit comments