diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-11-19 13:10:22 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-11-19 13:10:22 +0100 |
| commit | 42e3b860459d75acda352a5b65e2db7b1f8334e8 (patch) | |
| tree | 6ecf9669b4f7c1ae765f0e95666a2f15bb6b6c40 /src/libstd | |
| parent | e99e5fb67d2dd4d8ac581446684586087a89f02a (diff) | |
| parent | de122e673ac06f47652a593e0895f8367e049290 (diff) | |
| download | rust-42e3b860459d75acda352a5b65e2db7b1f8334e8.tar.gz rust-42e3b860459d75acda352a5b65e2db7b1f8334e8.zip | |
Rollup merge of #66511 - haraldh:error_chain_nocopy, r=dtolnay
std::error::Chain: remove Copy remove Copy from Iterator as per comment https://github.com/rust-lang/rust/issues/58520#issuecomment-553682166 Tracker: #58520
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/error.rs | 2 |
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)>, } |
