You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The test causes a parse error, but this isn't turned into a failure-failure properly (requires calling abort_if_errors) so the #[should_fail] annotation doesn't work right. The parse "succeeds".
The text was updated successfully, but these errors were encountered:
Moved map_err_ignore to restriction and updated help message
This MR moves map_err_ignore lint from `pedantic` to the `restriction` category of lints and updates the help message to give the user an option to ignore the lint by naming the closure variable e.g. `.map_err(|_ignored| ...`
---
changelog: move map_err_ignore to restriction category
As per https://github.com/pcwalton/rust/blob/6f98fa372d898932c3420a92da581c8fa6342ab0/src/libsyntax/parse/mod.rs#L479
The test causes a parse error, but this isn't turned into a failure-failure properly (requires calling
abort_if_errors
) so the#[should_fail]
annotation doesn't work right. The parse "succeeds".The text was updated successfully, but these errors were encountered: