]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_driver/args.rs
Rollup merge of #67845 - jumbatm:also-unconst-hack-abs, r=oli-obk
[rust.git] / src / librustc_driver / args.rs
index 339a10f9140446f9b5ab7db9aa91c236c2a68831..5e2c43596dbebdf6c1657b85bfb5c7695ecfd6d3 100644 (file)
@@ -2,7 +2,6 @@
 use std::fmt;
 use std::fs;
 use std::io;
-use std::str;
 
 pub fn arg_expand(arg: String) -> Result<Vec<String>, Error> {
     if arg.starts_with("@") {
@@ -36,8 +35,4 @@ fn fmt(&self, fmt: &mut fmt::Formatter<'_>) -> fmt::Result {
     }
 }
 
-impl error::Error for Error {
-    fn description(&self) -> &'static str {
-        "argument error"
-    }
-}
+impl error::Error for Error {}