diff options
author | Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com> | 2023-11-09 15:30:32 +0100 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2024-01-16 19:13:14 +0100 |
commit | 66fc33f66574b64884b30d668ca745ef8edc82e1 (patch) | |
tree | c88b70e095e6546de38c1ebd0239f6a32c306eae /gcc/ada/gcc-interface/utils.cc | |
parent | 93ca83c5efd6908b6c5602642004d0364bf9144b (diff) | |
download | gcc-66fc33f66574b64884b30d668ca745ef8edc82e1.zip gcc-66fc33f66574b64884b30d668ca745ef8edc82e1.tar.gz gcc-66fc33f66574b64884b30d668ca745ef8edc82e1.tar.bz2 |
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: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/ada/gcc-interface/utils.cc')
0 files changed, 0 insertions, 0 deletions