Skip to content
This repository has been archived by the owner on Aug 16, 2021. It is now read-only.

Fix compat Error conversion #290

Merged
merged 2 commits into from Dec 31, 2018

Conversation

AnderEnder
Copy link
Contributor

Latest failure(0.1.4) breaks failure Error to std Error (without send and sync) conversion. The changes are related to #283

This PR adds:

  • 2 smoke test cases for error conversion: Error to Box<StdError + Send + Sync> and Error to Box
  • add conversion from Error to Box back

@davidbarsky
Copy link
Contributor

Drat, sorry about that breakage. Thanks for the fix.

@davidbarsky davidbarsky merged commit 6a12641 into rust-lang-deprecated:master Dec 31, 2018
@lucab
Copy link

lucab commented Jan 2, 2019

@davidbarsky @mitsuhiko if 0.1.4 breaks semver compatibility, perhaps it should be yanked (and the other changes published as 0.1.5)?

@mitsuhiko
Copy link
Contributor

@lucab going to publish 0.1.5 now. Not sure if yanking is a good idea.

@roblabla
Copy link

roblabla commented Jan 3, 2019

Yanking is definitely a good idea. It's a clear signal that it's broken. Yanking doesn't remove the package, it just hides it from public view. If someone has a dependency on 0.1.4 (in cargo.lock or whatever), it will still work properly.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants