mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
rtstartup: add #![warn(unreachable_pub)]
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
#![no_core]
|
||||
#![allow(non_camel_case_types)]
|
||||
#![allow(internal_features)]
|
||||
#![warn(unreachable_pub)]
|
||||
|
||||
#[lang = "sized"]
|
||||
trait Sized {}
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
#![crate_type = "rlib"]
|
||||
#![no_core]
|
||||
#![allow(internal_features)]
|
||||
#![warn(unreachable_pub)]
|
||||
|
||||
#[lang = "sized"]
|
||||
trait Sized {}
|
||||
|
||||
Reference in New Issue
Block a user