Skip to content

Commit

Permalink
Rollup merge of rust-lang#66511 - haraldh:error_chain_nocopy, r=dtolnay
Browse files Browse the repository at this point in the history
std::error::Chain: remove Copy

remove Copy from Iterator as per comment
rust-lang#58520 (comment)

Tracker: rust-lang#58520
  • Loading branch information
JohnTitor authored Nov 19, 2019
2 parents fe5e073 + de122e6 commit 8966f76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libstd/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)>,
}
Expand Down

0 comments on commit 8966f76

Please sign in to comment.