Reenable some tests on "apple" targets (#16264)
Those tests appear to be passing on "apple" targets as well. changelog: none
This commit is contained in:
commit
533cbc57ba
5 changed files with 3 additions and 7 deletions
|
|
@ -1,6 +1,6 @@
|
|||
//@ check-pass
|
||||
//@compile-flags: -Clink-arg=-nostartfiles
|
||||
//@ignore-target: apple windows
|
||||
//@ignore-target: windows
|
||||
|
||||
#![crate_type = "lib"]
|
||||
#![no_std]
|
||||
|
|
|
|||
|
|
@ -1,5 +1,3 @@
|
|||
//@ignore-target: apple
|
||||
|
||||
#![feature(no_core, lang_items)]
|
||||
#![no_core]
|
||||
#![allow(clippy::missing_safety_doc)]
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
error: methods called `as_*` usually take `self` by reference or `self` by mutable reference
|
||||
--> tests/ui/def_id_nocore.rs:33:19
|
||||
--> tests/ui/def_id_nocore.rs:31:19
|
||||
|
|
||||
LL | pub fn as_ref(self) -> &'static str {
|
||||
| ^^^^
|
||||
|
|
|
|||
|
|
@ -1,6 +1,4 @@
|
|||
//@compile-flags: -Clink-arg=-nostartfiles
|
||||
//@ignore-target: apple
|
||||
|
||||
#![warn(clippy::empty_loop)]
|
||||
#![crate_type = "lib"]
|
||||
#![no_std]
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
error: empty `loop {}` wastes CPU cycles
|
||||
--> tests/ui/empty_loop_no_std.rs:10:5
|
||||
--> tests/ui/empty_loop_no_std.rs:8:5
|
||||
|
|
||||
LL | loop {}
|
||||
| ^^^^^^^
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue