diff options
| author | 许杰友 Jieyou Xu (Joe) <jieyouxu@outlook.com> | 2024-02-16 20:02:50 +0000 |
|---|---|---|
| committer | 许杰友 Jieyou Xu (Joe) <jieyouxu@outlook.com> | 2024-02-16 20:02:50 +0000 |
| commit | ec2cc761bc7067712ecc7734502f703fe3b024c8 (patch) | |
| tree | 7ab55cd9562da45b86c959f1b98c199b2b03ca92 /tests/ui/try-trait | |
| parent | e53d6dd35bb38b81dff4b00497f4c152e9009499 (diff) | |
| download | rust-ec2cc761bc7067712ecc7734502f703fe3b024c8.tar.gz rust-ec2cc761bc7067712ecc7734502f703fe3b024c8.zip | |
[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives
Diffstat (limited to 'tests/ui/try-trait')
| -rw-r--r-- | tests/ui/try-trait/try-as-monad.rs | 2 | ||||
| -rw-r--r-- | tests/ui/try-trait/try-on-option-diagnostics.rs | 2 | ||||
| -rw-r--r-- | tests/ui/try-trait/try-operator-custom.rs | 2 | ||||
| -rw-r--r-- | tests/ui/try-trait/try-poll.rs | 2 | ||||
| -rw-r--r-- | tests/ui/try-trait/yeet-for-option.rs | 2 | ||||
| -rw-r--r-- | tests/ui/try-trait/yeet-for-result.rs | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/tests/ui/try-trait/try-as-monad.rs b/tests/ui/try-trait/try-as-monad.rs index cf09838b304..2854a160069 100644 --- a/tests/ui/try-trait/try-as-monad.rs +++ b/tests/ui/try-trait/try-as-monad.rs @@ -1,4 +1,4 @@ -// run-pass +//@ run-pass #![feature(try_trait_v2)] diff --git a/tests/ui/try-trait/try-on-option-diagnostics.rs b/tests/ui/try-trait/try-on-option-diagnostics.rs index 7ffa0de6c0f..60942d1c4f7 100644 --- a/tests/ui/try-trait/try-on-option-diagnostics.rs +++ b/tests/ui/try-trait/try-on-option-diagnostics.rs @@ -1,4 +1,4 @@ -// edition:2018 +//@ edition:2018 fn main() {} diff --git a/tests/ui/try-trait/try-operator-custom.rs b/tests/ui/try-trait/try-operator-custom.rs index 45636a7fced..ab0772dd228 100644 --- a/tests/ui/try-trait/try-operator-custom.rs +++ b/tests/ui/try-trait/try-operator-custom.rs @@ -1,4 +1,4 @@ -// run-pass +//@ run-pass #![feature(control_flow_enum)] #![feature(try_trait_v2)] diff --git a/tests/ui/try-trait/try-poll.rs b/tests/ui/try-trait/try-poll.rs index d42e51c7405..c349db6e16d 100644 --- a/tests/ui/try-trait/try-poll.rs +++ b/tests/ui/try-trait/try-poll.rs @@ -1,4 +1,4 @@ -// build-pass (FIXME(62277): could be check-pass?) +//@ build-pass (FIXME(62277): could be check-pass?) #![allow(dead_code, unused)] diff --git a/tests/ui/try-trait/yeet-for-option.rs b/tests/ui/try-trait/yeet-for-option.rs index 753fbc1dee7..a83107d004e 100644 --- a/tests/ui/try-trait/yeet-for-option.rs +++ b/tests/ui/try-trait/yeet-for-option.rs @@ -1,4 +1,4 @@ -// run-pass +//@ run-pass #![feature(yeet_expr)] diff --git a/tests/ui/try-trait/yeet-for-result.rs b/tests/ui/try-trait/yeet-for-result.rs index b7b113797cd..67e1b1a2359 100644 --- a/tests/ui/try-trait/yeet-for-result.rs +++ b/tests/ui/try-trait/yeet-for-result.rs @@ -1,4 +1,4 @@ -// run-pass +//@ run-pass #![feature(yeet_expr)] |
