diff options
author | Owen Avery <powerboat9.gamer@gmail.com> | 2025-01-21 17:02:35 -0500 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2025-03-24 13:06:53 +0100 |
commit | 1bb09fcfd10e41854abaea6c6de928903c4b8ce8 (patch) | |
tree | 08f12240609998fe30fb285bbf4cc205110f22c0 /gcc/testsuite/rust/compile/nr2/exclude | |
parent | 561ef90a3649a12a82b2312d0559d6f4de0a4db8 (diff) | |
download | gcc-1bb09fcfd10e41854abaea6c6de928903c4b8ce8.zip gcc-1bb09fcfd10e41854abaea6c6de928903c4b8ce8.tar.gz gcc-1bb09fcfd10e41854abaea6c6de928903c4b8ce8.tar.bz2 |
gccrs: Check for type paths nr2.0 can't handle yet
Some of our tests only work with name resolution 2.0 because the latter
misinterprets type paths. This change should cause the compiler to error out
if it would otherwise misinterpret a type path. A fix for type path
resolution isn't included in this comment, since doing so would make it
harder to track the meaningfulness of test regressions.
gcc/rust/ChangeLog:
* resolve/rust-late-name-resolver-2.0.cc
(Late::visit): Error out if a type path has multiple segments,
as we currently ignore every segment except the last.
gcc/testsuite/ChangeLog:
* rust/compile/nr2/exclude: Add entries.
Signed-off-by: Owen Avery <powerboat9.gamer@gmail.com>
Diffstat (limited to 'gcc/testsuite/rust/compile/nr2/exclude')
-rw-r--r-- | gcc/testsuite/rust/compile/nr2/exclude | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/gcc/testsuite/rust/compile/nr2/exclude b/gcc/testsuite/rust/compile/nr2/exclude index d53c148..5cc7cf7 100644 --- a/gcc/testsuite/rust/compile/nr2/exclude +++ b/gcc/testsuite/rust/compile/nr2/exclude @@ -58,6 +58,7 @@ iterators1.rs lookup_err1.rs macros/mbe/macro13.rs macros/mbe/macro15.rs +macros/mbe/macro20.rs macros/mbe/macro23.rs macros/mbe/macro40.rs macros/mbe/macro43.rs @@ -151,4 +152,18 @@ derive_macro6.rs issue-2987.rs issue-3139-1.rs issue-3139-3.rs +issue-1019.rs +issue-1034.rs +issue-2019-1.rs +issue-2019-2.rs +issue-2019-3.rs +issue-2105.rs +issue-2190-1.rs +issue-2190-2.rs +issue-2304.rs +issue-2747.rs +issue-2953-1.rs +issue-3030.rs +traits12.rs +try-trait.rs # please don't delete the trailing newline |