1 error[E0658]: use of unstable library feature 'is_sorted': new API
2 --> $DIR/feature-gate-is_sorted.rs:3:33
4 LL | assert!([1, 2, 2, 9].iter().is_sorted());
7 = note: see issue #53485 <https://github.com/rust-lang/rust/issues/53485> for more information
8 = help: add `#![feature(is_sorted)]` to the crate attributes to enable
10 error[E0658]: use of unstable library feature 'is_sorted': new API
11 --> $DIR/feature-gate-is_sorted.rs:5:39
13 LL | assert!(![-2i32, -1, 0, 3].iter().is_sorted_by_key(|n| n.abs()));
16 = note: see issue #53485 <https://github.com/rust-lang/rust/issues/53485> for more information
17 = help: add `#![feature(is_sorted)]` to the crate attributes to enable
19 error[E0658]: use of unstable library feature 'is_sorted': new API
20 --> $DIR/feature-gate-is_sorted.rs:9:26
22 LL | assert!([1, 2, 2, 9].is_sorted());
25 = note: see issue #53485 <https://github.com/rust-lang/rust/issues/53485> for more information
26 = help: add `#![feature(is_sorted)]` to the crate attributes to enable
28 error[E0658]: use of unstable library feature 'is_sorted': new API
29 --> $DIR/feature-gate-is_sorted.rs:11:32
31 LL | assert!(![-2i32, -1, 0, 3].is_sorted_by_key(|n| n.abs()));
34 = note: see issue #53485 <https://github.com/rust-lang/rust/issues/53485> for more information
35 = help: add `#![feature(is_sorted)]` to the crate attributes to enable
37 error: aborting due to 4 previous errors
39 For more information about this error, try `rustc --explain E0658`.