mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
Bless other tests
This commit is contained in:
@@ -5,8 +5,7 @@
|
||||
#![feature(step_trait)]
|
||||
//~^ ERROR feature `step_trait` is declared but not used
|
||||
#![feature(is_sorted)]
|
||||
//~^ ERROR feature `is_sorted` is declared but not used
|
||||
//~^^ WARN the feature `is_sorted` has been stable since 1.82.0 and no longer requires an attribute to enable
|
||||
//~^ WARN the feature `is_sorted` has been stable since 1.82.0 and no longer requires an attribute to enable
|
||||
|
||||
// Enabled via cfg_attr, unused
|
||||
#![cfg_attr(all(), feature(slice_ptr_get))]
|
||||
|
||||
@@ -18,17 +18,11 @@ note: the lint level is defined here
|
||||
LL | #![deny(unused_features)]
|
||||
| ^^^^^^^^^^^^^^^
|
||||
|
||||
error: feature `is_sorted` is declared but not used
|
||||
--> $DIR/unused-library-features.rs:7:12
|
||||
|
|
||||
LL | #![feature(is_sorted)]
|
||||
| ^^^^^^^^^
|
||||
|
||||
error: feature `slice_ptr_get` is declared but not used
|
||||
--> $DIR/unused-library-features.rs:12:28
|
||||
--> $DIR/unused-library-features.rs:11:28
|
||||
|
|
||||
LL | #![cfg_attr(all(), feature(slice_ptr_get))]
|
||||
| ^^^^^^^^^^^^^
|
||||
|
||||
error: aborting due to 3 previous errors; 1 warning emitted
|
||||
error: aborting due to 2 previous errors; 1 warning emitted
|
||||
|
||||
|
||||
Reference in New Issue
Block a user