libcore: language change minor fix for ARM & MIPS#5622
Merged
bors merged 1 commit intorust-lang:incomingfrom Mar 29, 2013
yichoi:pull-0329
Merged
libcore: language change minor fix for ARM & MIPS#5622bors merged 1 commit intorust-lang:incomingfrom yichoi:pull-0329
bors merged 1 commit intorust-lang:incomingfrom
yichoi:pull-0329
Conversation
bors
added a commit
that referenced
this pull request
Mar 29, 2013
libcore: language change minor fix for ARM & MIPS fix context.rs
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
libcore: language change minor fix for ARM & MIPS
fix context.rs