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/function-pointer | |
| parent | e53d6dd35bb38b81dff4b00497f4c152e9009499 (diff) | |
| download | rust-ec2cc761bc7067712ecc7734502f703fe3b024c8.tar.gz rust-ec2cc761bc7067712ecc7734502f703fe3b024c8.zip | |
[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives
Diffstat (limited to 'tests/ui/function-pointer')
| -rw-r--r-- | tests/ui/function-pointer/function-pointer-comparison-issue-54685.rs | 4 | ||||
| -rw-r--r-- | tests/ui/function-pointer/issue-102289.rs | 2 | ||||
| -rw-r--r-- | tests/ui/function-pointer/sized-ret-with-binder.rs | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/tests/ui/function-pointer/function-pointer-comparison-issue-54685.rs b/tests/ui/function-pointer/function-pointer-comparison-issue-54685.rs index 855749c14b9..2e1c863e0f4 100644 --- a/tests/ui/function-pointer/function-pointer-comparison-issue-54685.rs +++ b/tests/ui/function-pointer/function-pointer-comparison-issue-54685.rs @@ -1,5 +1,5 @@ -// compile-flags: -C opt-level=3 -// run-pass +//@ compile-flags: -C opt-level=3 +//@ run-pass fn foo(_i: i32) -> i32 { 1 diff --git a/tests/ui/function-pointer/issue-102289.rs b/tests/ui/function-pointer/issue-102289.rs index de394ca9ad6..54e76189ec6 100644 --- a/tests/ui/function-pointer/issue-102289.rs +++ b/tests/ui/function-pointer/issue-102289.rs @@ -1,4 +1,4 @@ -// check-pass +//@ check-pass pub(crate) trait Parser: Sized { type Output; diff --git a/tests/ui/function-pointer/sized-ret-with-binder.rs b/tests/ui/function-pointer/sized-ret-with-binder.rs index 104ac4d222e..4887ba5efa7 100644 --- a/tests/ui/function-pointer/sized-ret-with-binder.rs +++ b/tests/ui/function-pointer/sized-ret-with-binder.rs @@ -1,4 +1,4 @@ -// check-pass +//@ check-pass #![feature(unboxed_closures)] |
