Skip to content

Commit 42e3b86

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

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)