You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do not cast parenthesised types to TraitBound types
Fixes#4148
gcc/rust/ChangeLog:
* parse/rust-parse-impl.h
(Parser::parse_paren_prefixed_type): remove cast to TraitBound
gcc/testsuite/ChangeLog:
* rust/compile/issue-4148.rs: test should not produce errors
Signed-off-by: lenny.chiadmi-delage <[email protected]>
0 commit comments