]> gcc.gnu.org Git - gcc.git/commit
gccrs: Fix "default unsafe fn ..." parsing
authorOwen Avery <powerboat9.gamer@gmail.com>
Mon, 8 May 2023 00:29:15 +0000 (20:29 -0400)
committerArthur Cohen <arthur.cohen@embecosm.com>
Tue, 16 Jan 2024 17:37:15 +0000 (18:37 +0100)
commitaf874e4bcd601e2fac3598c122641db6f3b1d95c
treec2fd23337637c9086f4ef6d700bed44973fb6e52
parentde9c1ff6d590c871eda5fe0da56efce0735e81fc
gccrs: Fix "default unsafe fn ..." parsing

gcc/rust/ChangeLog:

* parse/rust-parse-impl.h
(Parser::parse_trait_impl_function_or_method):
Parse function/method qualifiers after "default".

gcc/testsuite/ChangeLog:

* rust/compile/parse_specialization.rs:
Add "default unsafe" coverage.

Signed-off-by: Owen Avery <powerboat9.gamer@gmail.com>
gcc/rust/parse/rust-parse-impl.h
gcc/testsuite/rust/compile/parse_specialization.rs
This page took 0.073997 seconds and 6 git commands to generate.