diff options
| author | Oli Scherer <git-spam-no-reply9815368754983@oli-obk.de> | 2024-02-01 22:45:00 +0000 |
|---|---|---|
| committer | Oli Scherer <git-spam-no-reply9815368754983@oli-obk.de> | 2024-02-08 08:10:43 +0000 |
| commit | eab2adb6607d94fd0c70de93abf546ae9282afaa (patch) | |
| tree | db09af54e3ca25180b67a09018fe4ac604a3c98a /tests/ui/enum/enum-and-module-in-same-scope.rs | |
| parent | e5461de39287fcec2179bb7051f65d987cdff270 (diff) | |
| download | rust-eab2adb6607d94fd0c70de93abf546ae9282afaa.tar.gz rust-eab2adb6607d94fd0c70de93abf546ae9282afaa.zip | |
Continue to borrowck even if there were previous errors
Diffstat (limited to 'tests/ui/enum/enum-and-module-in-same-scope.rs')
| -rw-r--r-- | tests/ui/enum/enum-and-module-in-same-scope.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/ui/enum/enum-and-module-in-same-scope.rs b/tests/ui/enum/enum-and-module-in-same-scope.rs index cc6e199bd7c..8e69c89d792 100644 --- a/tests/ui/enum/enum-and-module-in-same-scope.rs +++ b/tests/ui/enum/enum-and-module-in-same-scope.rs @@ -5,6 +5,7 @@ enum Foo { mod Foo { //~ ERROR the name `Foo` is defined multiple times pub static X: isize = 42; fn f() { f() } // Check that this does not result in a resolution error + //~^ WARN cannot return without recursing } fn main() {} |
