Skip to content
Snippets Groups Projects
Commit d2a499a9 authored by Owen Avery's avatar Owen Avery Committed by Arthur Cohen
Browse files

gccrs: Fix issue with parsing unsafe block expression statements


gcc/rust/ChangeLog:

	* parse/rust-parse-impl.h
	(Parser::parse_stmt): Handle unsafe expression statements.

gcc/testsuite/ChangeLog:

	* rust/compile/issue-1422.rs: New test.

Signed-off-by: default avatarOwen Avery <powerboat9.gamer@gmail.com>
parent 990ae497
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment