Skip to content

suggest similar lint names for unknown lints - #56992

Merged
bors merged 1 commit into
rust-lang:masterfrom
euclio:unknown-lint-suggestion
Dec 23, 2018
Merged

suggest similar lint names for unknown lints#56992
bors merged 1 commit into
rust-lang:masterfrom
euclio:unknown-lint-suggestion

Conversation

@euclio

Copy link
Copy Markdown
Contributor

Fixes#54737.

@rust-highfive

Copy link
Copy Markdown
Contributor

r? @oli-obk

(rust_highfive has picked a reviewer for you, use r? to override)

@rust-highfiverust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Dec 19, 2018
@euclio
euclioforce-pushed the unknown-lint-suggestion branch from 49ce0e9 to 90726e1CompareDecember 19, 2018 21:52
@oli-obk

Copy link
Copy Markdown
Contributor

@bors r+

This is awesome!

@bors

bors commented Dec 20, 2018

Copy link
Copy Markdown
Collaborator

📌 Commit 90726e1 has been approved by oli-obk

@borsbors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Dec 20, 2018
@Mark-Simulacrum

Copy link
Copy Markdown
Member

@bors rollup

Mark-Simulacrum added a commit to Mark-Simulacrum/rust that referenced this pull request Dec 21, 2018
…li-obk
suggest similar lint names for unknown lints
Fixesrust-lang#54737.
emilyalbini added a commit to emilyalbini/rust that referenced this pull request Dec 21, 2018
…li-obk
suggest similar lint names for unknown lints
Fixesrust-lang#54737.
bors added a commit that referenced this pull request Dec 21, 2018
Rollup of 20 pull requests
Successful merges:
- #56802 (Add DoubleEndedIterator::nth_back)
- #56842 (Add unstable VecDeque::rotate_{left|right})
- #56869 (Reduce search-index.js size)
- #56887 (Disable field reordering for repr(int).)
- #56892 (rustc: Update Clang used to build LLVM on Linux)
- #56909 (static eval: Do not ICE on layout size overflow)
- #56914 (Ignore ui/target-feature-gate on sparc, sparc64, powerpc, powerpc64 and powerpc64le)
- #56917 (Simplify MIR generation for logical operations)
- #56919 (Remove a wrong multiplier on relocation offset computation)
- #56933 (Add --progress to git submodule commands in x.py)
- #56941 (deny intra-doc link resolution failures in libstd)
- #56964 (Remove `TokenStream::JointTree`.)
- #56970 (Mem uninit doc ptr drop)
- #56973 (make basic CTFE tracing available on release builds)
- #56979 (Adding unwinding support for x86_64_fortanix_unknown_sgx target.)
- #56981 (miri: allocation is infallible)
- #56984 (A few tweaks to dropck_outlives)
- #56989 (Fix compiletest `trim` deprecation warnings)
- #56992 (suggest similar lint names for unknown lints)
- #57002 (Stabilize Vec(Deque)::resize_with)
Failed merges:
r? @ghost
bors added a commit that referenced this pull request Dec 21, 2018
Rollup of 20 pull requests
Successful merges:
- #56802 (Add DoubleEndedIterator::nth_back)
- #56842 (Add unstable VecDeque::rotate_{left|right})
- #56869 (Reduce search-index.js size)
- #56887 (Disable field reordering for repr(int).)
- #56892 (rustc: Update Clang used to build LLVM on Linux)
- #56909 (static eval: Do not ICE on layout size overflow)
- #56914 (Ignore ui/target-feature-gate on sparc, sparc64, powerpc, powerpc64 and powerpc64le)
- #56917 (Simplify MIR generation for logical operations)
- #56919 (Remove a wrong multiplier on relocation offset computation)
- #56933 (Add --progress to git submodule commands in x.py)
- #56941 (deny intra-doc link resolution failures in libstd)
- #56964 (Remove `TokenStream::JointTree`.)
- #56970 (Mem uninit doc ptr drop)
- #56973 (make basic CTFE tracing available on release builds)
- #56979 (Adding unwinding support for x86_64_fortanix_unknown_sgx target.)
- #56981 (miri: allocation is infallible)
- #56984 (A few tweaks to dropck_outlives)
- #56989 (Fix compiletest `trim` deprecation warnings)
- #56992 (suggest similar lint names for unknown lints)
- #57002 (Stabilize Vec(Deque)::resize_with)
Failed merges:
r? @ghost
Centril added a commit to Centril/rust that referenced this pull request Dec 22, 2018
…li-obk
suggest similar lint names for unknown lints
Fixesrust-lang#54737.
@CentrilCentril mentioned this pull request Dec 22, 2018
@kennytmkennytm mentioned this pull request Dec 22, 2018
kennytm added a commit to kennytm/rust that referenced this pull request Dec 22, 2018
…li-obk
suggest similar lint names for unknown lints
Fixesrust-lang#54737.
bors added a commit that referenced this pull request Dec 22, 2018
Rollup of 25 pull requests
Successful merges:
- #56802 (Add DoubleEndedIterator::nth_back)
- #56909 (static eval: Do not ICE on layout size overflow)
- #56914 (Ignore ui/target-feature-gate on sparc, sparc64, powerpc, powerpc64 and powerpc64le)
- #56919 (Remove a wrong multiplier on relocation offset computation)
- #56933 (Add --progress to git submodule commands in x.py)
- #56936 (rename div_euc -> div_euclid, and mod_euc -> rem_euclid)
- #56941 (deny intra-doc link resolution failures in libstd)
- #56945 (Fix rustdoc-js tests)
- #56967 (Replace current crate's searchIndex when regenerating)
- #56970 (Mem uninit doc ptr drop)
- #56973 (make basic CTFE tracing available on release builds)
- #56979 (Adding unwinding support for x86_64_fortanix_unknown_sgx target.)
- #56981 (miri: allocation is infallible)
- #56984 (A few tweaks to dropck_outlives)
- #56989 (Fix compiletest `trim` deprecation warnings)
- #56992 (suggest similar lint names for unknown lints)
- #57002 (Stabilize Vec(Deque)::resize_with)
- #57011 (rustdoc: add new CLI flag to load static files from a different location)
- #57027 (Optimize away a move)
- #57034 (Inline tweaks)
- #57039 (Update migrate warning wording.)
- #57040 (Fix feature gate to point to 1.32.0 for `path_from_str`)
- #57049 (Stabilize #[repr(packed(N))])
- #57050 (Fixed typo in HashMap documentation)
- #57052 (Fix stabilization version numbers (exhaustive_integer_patterns + macro_literal_matcher))
@bors
bors merged commit 90726e1 into rust-lang:masterDec 23, 2018
matthiaskrgr added a commit to matthiaskrgr/rust-clippy that referenced this pull request Dec 23, 2018
bors added a commit to rust-lang/rust-clippy that referenced this pull request Dec 23, 2018
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Dec 23, 2018
Fixes clippy tool state
Changes:
````
FIXME > TODO
rustup rust-lang#56992
Document map_clone known problems rust-lang#498
Remove header link
test: panic at map_unit_fn.rs:202 for map() without args
rm unused file map_unit_fn.stderr
panic at map_unit_fn.rs:202 for map() without args
Change contrib.md hierarchy, link to it from readme
Workaround rust-lang#43081
Teach `suspicious_else_formatting` about `if .. {..} {..}`
Link to `rustc_driver` crate in plugin
mutex_atomic: Correct location of AtomicBool and friends
Update README local run command to specify syspath
Do not mark as_ref as useless if it's followed by a method call
Changes lint sugg to bitwise and operator `&`
Run update_lints after renaming
Rename lint to MODULE_NAME_REPETITIONS
Add renaming tests
Move renaming to the right place
Implements lint for order comparisons against bool
fix(module_name_repeat): Try to register renamed lint, not valid yet
Fix an endless loop in the tests.
Fix `implicit_return` false positives.
chore(moduel_name_repeat): Rename stutter lint to module_name_repeat to avoid ableist language
Make integration tests fail on 'E0463'
base tests: make sure cargo-clippy binary can be called directly
Revert "Merge pull request rust-lang#3257 from o01eg/remove-sysroot"
````
@euclio
euclio deleted the unknown-lint-suggestion branch December 23, 2018 17:52
bors added a commit that referenced this pull request Dec 24, 2018
submodules: update clippy from a416c5e to fc24fce
Fixes clippy tool state
Changes:
````
FIXME > TODO
rustup #56992
Document map_clone known problems #498
Remove header link
test: panic at map_unit_fn.rs:202 for map() without args
rm unused file map_unit_fn.stderr
panic at map_unit_fn.rs:202 for map() without args
Change contrib.md hierarchy, link to it from readme
Workaround #43081
Teach `suspicious_else_formatting` about `if .. {..} {..}`
Link to `rustc_driver` crate in plugin
mutex_atomic: Correct location of AtomicBool and friends
Update README local run command to specify syspath
Do not mark as_ref as useless if it's followed by a method call
Changes lint sugg to bitwise and operator `&`
Run update_lints after renaming
Rename lint to MODULE_NAME_REPETITIONS
Add renaming tests
Move renaming to the right place
Implements lint for order comparisons against bool
fix(module_name_repeat): Try to register renamed lint, not valid yet
Fix an endless loop in the tests.
Fix `implicit_return` false positives.
chore(moduel_name_repeat): Rename stutter lint to module_name_repeat to avoid ableist language
Make integration tests fail on 'E0463'
base tests: make sure cargo-clippy binary can be called directly
Revert "Merge pull request #3257 from o01eg/remove-sysroot"
````
r? @oli-obk
flip1995 pushed a commit to flip1995/rust-clippy that referenced this pull request May 5, 2020
Fixes clippy tool state
Changes:
````
FIXME > TODO
rustup rust-lang/rust#56992
Document map_clone known problems rust-lang#498
Remove header link
test: panic at map_unit_fn.rs:202 for map() without args
rm unused file map_unit_fn.stderr
panic at map_unit_fn.rs:202 for map() without args
Change contrib.md hierarchy, link to it from readme
Workaround rust-lang/rust#43081
Teach `suspicious_else_formatting` about `if .. {..} {..}`
Link to `rustc_driver` crate in plugin
mutex_atomic: Correct location of AtomicBool and friends
Update README local run command to specify syspath
Do not mark as_ref as useless if it's followed by a method call
Changes lint sugg to bitwise and operator `&`
Run update_lints after renaming
Rename lint to MODULE_NAME_REPETITIONS
Add renaming tests
Move renaming to the right place
Implements lint for order comparisons against bool
fix(module_name_repeat): Try to register renamed lint, not valid yet
Fix an endless loop in the tests.
Fix `implicit_return` false positives.
chore(moduel_name_repeat): Rename stutter lint to module_name_repeat to avoid ableist language
Make integration tests fail on 'E0463'
base tests: make sure cargo-clippy binary can be called directly
Revert "Merge pull request rust-lang#3257 from o01eg/remove-sysroot"
````
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@euclio@rust-highfive@oli-obk@bors@Mark-Simulacrum