Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libcore: language change minor fix for ARM & MIPS #5622

Merged
merged 1 commit into from
Mar 29, 2013
Merged

libcore: language change minor fix for ARM & MIPS #5622

merged 1 commit into from
Mar 29, 2013

Conversation

yichoi
Copy link
Contributor

@yichoi yichoi commented Mar 29, 2013

libcore: language change minor fix for ARM & MIPS

fix context.rs

bors added a commit that referenced this pull request Mar 29, 2013
libcore: language change minor fix for ARM & MIPS

fix context.rs
@bors bors closed this Mar 29, 2013
@bors bors merged commit e6f2d7a into rust-lang:incoming Mar 29, 2013
@yichoi yichoi deleted the pull-0329 branch March 29, 2013 21:37
flip1995 pushed a commit to flip1995/rust that referenced this pull request May 27, 2020
…flip1995

Downgrade `match_wild_err_arm` to pedantic and update help messages

Hi,
This fixes rust-lang#3688 and downgrades `match_wild_err_arm` to pedantic.
There are a lot of different reasons in that issue, for me the biggest are:
1. Rust's errors aren't like Java's exceptions because they're type safe and in most cases the type of error can't change by itself.
2. Sometimes matching can be more ergonomic, and before the `track_caller` feature got introduced it was actually easier to track the panic location with explicit `panic!` than with `expect`.

Currently clippy is failing to build because of a breaking change in rust-lang#69171 I tried fixing it but it is too complex for my little knowledge of clippy and rustc so I'll leave that to people who know what they're doing :)

Another thing, if rustc is breaking clippy a lot then maybe it's better to use something like `miri` does, where it's hard codes the latest tested rustc commit and they keep bumping it, that way when you develop locally it should work even if there was a breaking change (https://github.com/rust-lang/miri/blob/master/rustup-toolchain#L23-L29)

changelog: Downgrade `match_wild_err_arm` to pedantic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants