Skip to content
Snippets Groups Projects
Commit 66fc33f6 authored by Pierre-Emmanuel Patry's avatar Pierre-Emmanuel Patry Committed by Arthur Cohen
Browse files

gccrs: Change error location for LoopLabel


Loop label error reporting during ast validation was done at loop label
level. It lead to some innacurate error reporting in break loop labels
due to the way the label is built.

gcc/rust/ChangeLog:

	* checks/errors/rust-ast-validation.cc (ASTValidation::visit): Change
	reported error location to the lifetime location.

Signed-off-by: default avatarPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
parent 93ca83c5
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