Skip to content

Commit 533cbc5

Browse files
authored
Reenable some tests on "apple" targets (#16264)
Those tests appear to be passing on "apple" targets as well. changelog: none
2 parents 34fab5c + 76457e6 commit 533cbc5

File tree

5 files changed

+3
-7
lines changed

5 files changed

+3
-7
lines changed

tests/ui/crashes/ice-7410.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//@ check-pass
22
//@compile-flags: -Clink-arg=-nostartfiles
3-
//@ignore-target: apple windows
3+
//@ignore-target: windows
44

55
#![crate_type = "lib"]
66
#![no_std]

tests/ui/def_id_nocore.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
//@ignore-target: apple
2-
31
#![feature(no_core, lang_items)]
42
#![no_core]
53
#![allow(clippy::missing_safety_doc)]

tests/ui/def_id_nocore.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error: methods called `as_*` usually take `self` by reference or `self` by mutable reference
2-
--> tests/ui/def_id_nocore.rs:33:19
2+
--> tests/ui/def_id_nocore.rs:31:19
33
|
44
LL | pub fn as_ref(self) -> &'static str {
55
| ^^^^

tests/ui/empty_loop_no_std.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
//@compile-flags: -Clink-arg=-nostartfiles
2-
//@ignore-target: apple
3-
42
#![warn(clippy::empty_loop)]
53
#![crate_type = "lib"]
64
#![no_std]

tests/ui/empty_loop_no_std.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error: empty `loop {}` wastes CPU cycles
2-
--> tests/ui/empty_loop_no_std.rs:10:5
2+
--> tests/ui/empty_loop_no_std.rs:8:5
33
|
44
LL | loop {}
55
| ^^^^^^^

0 commit comments

Comments
 (0)