mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-08 01:28:18 +03:00
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:
@@ -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 {}
|
||||
| ^^^^^^^
|
||||
|
||||
Reference in New Issue
Block a user