about summary refs log tree commit diff
path: root/src/libstd/error.rs
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2019-11-15 14:29:35 +0100
committerHarald Hoyer <harald@redhat.com>2019-11-18 09:01:34 +0100
commitde122e673ac06f47652a593e0895f8367e049290 (patch)
tree7f25d919b54a7fe22437885c8df7dd13200bdf3a /src/libstd/error.rs
parentce36ab2b064c2aa716084d79717c64cc04bb6532 (diff)
downloadrust-de122e673ac06f47652a593e0895f8367e049290.tar.gz
rust-de122e673ac06f47652a593e0895f8367e049290.zip
std::error::Chain: remove Copy
remove Copy from Iterator as per comment
https://github.com/rust-lang/rust/issues/58520#issuecomment-553682166
Diffstat (limited to 'src/libstd/error.rs')
-rw-r--r--src/libstd/error.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/error.rs b/src/libstd/error.rs
index df24b6635f4..d1cb0862d82 100644
--- a/src/libstd/error.rs
+++ b/src/libstd/error.rs
@@ -791,7 +791,7 @@ impl dyn Error {
 ///
 /// [`Error`]: trait.Error.html
 #[unstable(feature = "error_iter", issue = "58520")]
-#[derive(Copy, Clone, Debug)]
+#[derive(Clone, Debug)]
 pub struct Chain<'a> {
     current: Option<&'a (dyn Error + 'static)>,
 }