diff options
| author | bors <bors@rust-lang.org> | 2019-05-06 16:43:25 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2019-05-06 16:43:25 +0000 |
| commit | a19cf18c7dbbcc46dddea81df3a4cee1735c2349 (patch) | |
| tree | 3acc8e9c4b9322ee50be98b4d9b245a30110b2c5 /src/libsyntax | |
| parent | c3b8ab5199af4a3c11d14b0cbdb17a641e8eee71 (diff) | |
| parent | 9a2772aff0e6c2058fb52a844b4593eabd18fcbc (diff) | |
| download | rust-a19cf18c7dbbcc46dddea81df3a4cee1735c2349.tar.gz rust-a19cf18c7dbbcc46dddea81df3a4cee1735c2349.zip | |
Auto merge of #53645 - varkor:const-generics-redux, r=eddyb
The Genesis of Generic Germination *Long had its coming been foretold: a collaborative effort with @yodaldevoid, set in motion by @jplatte, to beget a new Kind: one of a very different Sort to those that come before it. Amidst promises of ineffable powers previously thought unobtainable, few dared believe that the prophecies were true. But as they gazed upon that which claimed to be the Beginning, a few gentle sparks of hope fluttered deep within. It was not Time yet. But it was a Sign. And maybe, for some, that was enough.* There's a long way to go, but we're at the point where we would benefit from GitHub's reviewing capabilities. r? @eddyb
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/parse/parser.rs | 4 |
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())? |
