]> git.ipfire.org Git - thirdparty/gcc.git/commit
gccrs: Emit errors from the transcriber when they occur
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Thu, 18 Sep 2025 14:57:15 +0000 (16:57 +0200)
committerArthur Cohen <arthur.cohen@embecosm.com>
Thu, 30 Oct 2025 20:30:53 +0000 (21:30 +0100)
commit53e7cb37c936d1463bcdfc6ed0bcb6beced11341
tree714abf0cd10502eb127ca768c6123e0a4f9150c4
parent42c46d96a37ac619e60d5ee7949a3248e387b6f6
gccrs: Emit errors from the transcriber when they occur

Emitting the errors later means some error could be emitted multiple
times.

gcc/rust/ChangeLog:

* expand/rust-macro-expand.cc (transcribe_expression): Emit error
early.

Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
gcc/rust/expand/rust-macro-expand.cc