]> git.ipfire.org Git - thirdparty/gcc.git/commit
gccrs: Add rust_error_at accepting location_t and ErrorCode
authorOwen Avery <powerboat9.gamer@gmail.com>
Mon, 10 Jul 2023 03:23:14 +0000 (23:23 -0400)
committerArthur Cohen <arthur.cohen@embecosm.com>
Tue, 16 Jan 2024 17:49:35 +0000 (18:49 +0100)
commitf9b0ca04c88bcea93d9e80f2c98089da7484f0d7
treeb2668476d6aef0eada37cfde07bdb2fd50e36ea4
parent7b6c52cf4ef53d4f4816cbcd7e086daa1c872d29
gccrs: Add rust_error_at accepting location_t and ErrorCode

gcc/rust/ChangeLog:

* rust-diagnostics.cc
(rust_be_error_at): Add function accepting location_t and ErrorCode.
(rust_error_at): Likewise.
* rust-diagnostics.h
(rust_error_at): Likewise.
(rust_be_error_at): Likewise.

Signed-off-by: Owen Avery <powerboat9.gamer@gmail.com>
gcc/rust/rust-diagnostics.cc
gcc/rust/rust-diagnostics.h