]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/methods.rs
Use the traits added to the Rust 2021 Edition prelude
[rust.git] / tests / ui / methods.rs
index c441b35b9920390c89edfc6ac504716cf25eae2f..9805097084d303cc1bc8153202afa7afc7f2bac6 100644 (file)
@@ -1,5 +1,4 @@
 // aux-build:option_helpers.rs
-// edition:2018
 
 #![warn(clippy::all, clippy::pedantic)]
 #![allow(
@@ -27,7 +26,6 @@
 use std::collections::HashMap;
 use std::collections::HashSet;
 use std::collections::VecDeque;
-use std::iter::FromIterator;
 use std::ops::Mul;
 use std::rc::{self, Rc};
 use std::sync::{self, Arc};