-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
On recent nightlies, OrdSubsetSliceExt
triggers the where_clauses_object_safety
warning:
warning: the trait `slice_ext::OrdSubsetSliceExt` cannot be made into an object
--> src/slice_ext.rs:42:5
|
42 | / fn ord_subset_sort(&mut self)
43 | | where
44 | | Self: AsMut<[T]>,
45 | | T: OrdSubset;
| |_____________________^
|
= note: #[warn(where_clauses_object_safety)] on by default
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= note: for more information, see issue #51443 <https://github.com/rust-lang/rust/issues/51443>
= note: method `ord_subset_sort` references the `Self` type in where clauses
(+3 other similar warnings)
$ rustc --version
rustc 1.29.0-nightly (6a1c0637c 2018-07-23)
I don't have time right now, but I'll try to come back to this in a week or so.
Metadata
Metadata
Assignees
Labels
No labels