]> git.ipfire.org Git - thirdparty/gcc.git/commit
gccrs: resolve: Add ResolveExpr::funny_error
authorSergey Bugaev <bugaevc@gmail.com>
Mon, 3 Apr 2023 15:51:58 +0000 (18:51 +0300)
committerArthur Cohen <arthur.cohen@embecosm.com>
Tue, 16 Jan 2024 17:34:09 +0000 (18:34 +0100)
commit5138ddc3d652b66d3292c1543c34752e9ed78fc6
treecba3255bbefc097c787a09cc2abf7bb57cb164fa
parentb503080cd219b8f05184f6322d943d1c03f56b08
gccrs: resolve: Add ResolveExpr::funny_error

...and thread it through the constructors and the ResolveExpr::go ()
method.

This will be used for implementing the "break rust" Easter egg.

gcc/rust/ChangeLog:
* resolve/rust-ast-resolve-expr.h,
resolve/rust-ast-resolve-expr.cc: Add ResolveExpr::funny_error

Signed-off-by: Sergey Bugaev <bugaevc@gmail.com>
gcc/rust/resolve/rust-ast-resolve-expr.cc
gcc/rust/resolve/rust-ast-resolve-expr.h