Skip to content

Commit 1ee802f

Browse files
lqdcompiler-errors
authored andcommitted
remove let binding of unit value
1 parent 50b0b9a commit 1ee802f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/formality-types/src/grammar/ty/parse_impls.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ impl CoreParse<Rust> for AliasTy {
8181
parser.parse_variant("associated type", Precedence::default(), |p| {
8282
p.expect_char('<')?;
8383
let ty0: Ty = p.nonterminal()?;
84-
let () = p.expect_keyword("as")?;
84+
p.expect_keyword("as")?;
8585
let trait_id: TraitId = p.nonterminal()?;
8686
let trait_parameters1 = parse_parameters(p)?;
8787
p.expect_char('>')?;

0 commit comments

Comments
 (0)