remove test for no_core

This commit is contained in:
lcnr
2025-09-23 17:08:29 +02:00
parent 4fcafc9daa
commit 83532f8544
2 changed files with 0 additions and 27 deletions

View File

@@ -1,19 +0,0 @@
#![feature(lang_items, no_core)]
#![no_core]
#![no_main]
#[lang = "pointee_sized"]
pub trait PointeeSized {}
#[lang = "meta_sized"]
pub trait MetaSized: PointeeSized {}
#[lang = "sized"]
trait Sized: MetaSized { }
struct S;
#[no_mangle]
extern "C" fn main(argc: i32, _argv: *const *const u8) -> i32 {
argc //~ ERROR requires `copy` lang_item
}

View File

@@ -1,8 +0,0 @@
error: requires `copy` lang_item
--> $DIR/missing-copy-lang-item-issue-19660.rs:18:5
|
LL | argc
| ^^^^
error: aborting due to 1 previous error