Skip to content

Commit 8966f76

Browse files
authored
Rollup merge of rust-lang#66511 - haraldh:error_chain_nocopy, r=dtolnay
std::error::Chain: remove Copy remove Copy from Iterator as per comment rust-lang#58520 (comment) Tracker: rust-lang#58520
2 parents fe5e073 + de122e6 commit 8966f76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/error.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -791,7 +791,7 @@ impl dyn Error {
791791
///
792792
/// [`Error`]: trait.Error.html
793793
#[unstable(feature = "error_iter", issue = "58520")]
794-
#[derive(Copy, Clone, Debug)]
794+
#[derive(Clone, Debug)]
795795
pub struct Chain<'a> {
796796
current: Option<&'a (dyn Error + 'static)>,
797797
}

0 commit comments

Comments
 (0)