Allow internal_features lint
This commit is contained in:
parent
3a16126550
commit
e50b916b7f
@ -1,6 +1,10 @@
|
|||||||
#![doc = include_str!("../README.md")]
|
#![doc = include_str!("../README.md")]
|
||||||
#![feature(c_unwind)]
|
#![feature(c_unwind)]
|
||||||
#![feature(naked_functions)]
|
#![feature(naked_functions)]
|
||||||
|
// lang_items is an internal feature. `internal_features` lint is added recently
|
||||||
|
// so also allow unknown lints to prevent warning in older nightly versions.
|
||||||
|
#![allow(unknown_lints)]
|
||||||
|
#![allow(internal_features)]
|
||||||
#![cfg_attr(
|
#![cfg_attr(
|
||||||
any(feature = "personality", feature = "personality-dummy"),
|
any(feature = "personality", feature = "personality-dummy"),
|
||||||
feature(lang_items)
|
feature(lang_items)
|
||||||
|
Loading…
Reference in New Issue
Block a user