aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@baylibre.com>2024-03-11 00:47:49 +0100
committerThomas Schwinge <tschwinge@baylibre.com>2024-03-11 00:47:49 +0100
commit7f7da6c240f2e0284ff201975844673f2ef070c7 (patch)
tree612ae67f3bf3a7f2ada0b56bbac0ba4a8ef4783d /gcc/rust
parenta1bd74ba1df9efa557d6b4d873f39c36d59ed72c (diff)
parentb59e9de990a17bfd5fa7252b76339c35bff7f2e8 (diff)
downloadgcc-7f7da6c240f2e0284ff201975844673f2ef070c7.zip
gcc-7f7da6c240f2e0284ff201975844673f2ef070c7.tar.gz
gcc-7f7da6c240f2e0284ff201975844673f2ef070c7.tar.bz2
Merge commit 'af91934c2f6b8efc67d625c99068b4761ae5edd0^' into HEAD
Diffstat (limited to 'gcc/rust')
-rw-r--r--gcc/rust/ChangeLog11
1 files changed, 11 insertions, 0 deletions
diff --git a/gcc/rust/ChangeLog b/gcc/rust/ChangeLog
index de25e73..31a6ede 100644
--- a/gcc/rust/ChangeLog
+++ b/gcc/rust/ChangeLog
@@ -1,3 +1,14 @@
+2023-09-07 David Malcolm <dmalcolm@redhat.com>
+
+ * rust-diagnostics.cc (rust_error_at): New overload.
+ * rust-diagnostics.h (struct ErrorCode): New struct.
+ (rust_error_at): New.
+ (rust_be_error_at): Likewise.
+ * rust-gcc-diagnostics.cc (class rust_error_code_rule): New class.
+ (rust_be_error_at): New function.
+ * typecheck/rust-casts.cc (TypeCastRules::emit_cast_error): Emit E0054
+ when reporting invalid cast error.
+
2023-07-05 Robin Dapp <rdapp@ventanamicro.com>
Juzhe-Zhong <juzhe.zhong@rivai.ai>