Skip to content

Commit 5c666ea

Browse files
committed
Remove some unused feature gates
1 parent 88c3719 commit 5c666ea

File tree

3 files changed

+10
-8
lines changed

3 files changed

+10
-8
lines changed

example/arbitrary_self_types_pointers_and_wrappers.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// Adapted from rustc run-pass test suite
22

33
#![feature(arbitrary_self_types, unsize, coerce_unsized, dispatch_from_dyn)]
4-
#![feature(rustc_attrs)]
54

65
use std::{
76
ops::{Deref, CoerceUnsized, DispatchFromDyn},

example/mini_core.rs

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
11
#![feature(
2-
no_core, lang_items, intrinsics, unboxed_closures, type_ascription, extern_types,
3-
untagged_unions, decl_macro, rustc_attrs, transparent_unions, auto_traits,
4-
thread_local,
2+
no_core,
3+
lang_items,
4+
intrinsics,
5+
unboxed_closures,
6+
extern_types,
7+
decl_macro,
8+
rustc_attrs,
9+
transparent_unions,
10+
auto_traits,
11+
thread_local
512
)]
613
#![no_core]
714
#![allow(dead_code)]

example/mini_core_hello_world.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@ extern crate mini_core;
77
use mini_core::*;
88
use mini_core::libc::*;
99

10-
unsafe extern "C" fn my_puts(s: *const i8) {
11-
puts(s);
12-
}
13-
1410
macro_rules! assert {
1511
($e:expr) => {
1612
if !$e {

0 commit comments

Comments
 (0)