]> git.lizzy.rs Git - rust.git/log
rust.git
4 years agoAuto merge of #5068 - JohnTitor:split-up-transmute, r=phansch
bors [Tue, 21 Jan 2020 06:22:05 +0000 (06:22 +0000)]
Auto merge of #5068 - JohnTitor:split-up-transmute, r=phansch

Split up `transmute` ui test

Part of #2038

changelog: none

4 years agoAuto merge of #5028 - krishna-veerareddy:issue-5026-mem-ordering-fences, r=phansch
bors [Tue, 21 Jan 2020 05:53:46 +0000 (05:53 +0000)]
Auto merge of #5028 - krishna-veerareddy:issue-5026-mem-ordering-fences, r=phansch

Detect usage of invalid atomic ordering in memory fences

Detect usage of `core::sync::atomic::{fence, compiler_fence}` with `Ordering::Relaxed` and suggest valid alternatives.

changelog: Extend `invalid_atomic_ordering` to lint memory fences

Fixes #5026

4 years agoDecrease line length limit for stderr files
Yuki Okushi [Mon, 20 Jan 2020 21:43:01 +0000 (06:43 +0900)]
Decrease line length limit for stderr files

4 years agoAuto merge of #5067 - JohnTitor:lint-skip-while-next, r=flip1995
bors [Mon, 20 Jan 2020 17:28:38 +0000 (17:28 +0000)]
Auto merge of #5067 - JohnTitor:lint-skip-while-next, r=flip1995

Add `skip_while_next` lint

Fixes #4036

changelog: Add `skip_while_next` lint

4 years agoAuto merge of #5070 - JohnTitor:suspicious-map-doc, r=flip1995
bors [Mon, 20 Jan 2020 12:12:03 +0000 (12:12 +0000)]
Auto merge of #5070 - JohnTitor:suspicious-map-doc, r=flip1995

Improve `suspicious_map`documentation

Fixes #4793

changelog: none

4 years agoApply review comment
Yuki Okushi [Mon, 20 Jan 2020 12:07:31 +0000 (21:07 +0900)]
Apply review comment

4 years agoAuto merge of #5069 - JohnTitor:tweak-wording, r=flip1995
bors [Mon, 20 Jan 2020 11:42:08 +0000 (11:42 +0000)]
Auto merge of #5069 - JohnTitor:tweak-wording, r=flip1995

Tweak wording in `assertions_on_constants`

Displays actual macro names

changelog: none

4 years agoImprove `suspicious_map`documentation
Yuki Okushi [Mon, 20 Jan 2020 06:05:40 +0000 (15:05 +0900)]
Improve `suspicious_map`documentation

4 years agoTweak wording in `assertions_on_constants`
Yuki Okushi [Mon, 20 Jan 2020 02:52:58 +0000 (11:52 +0900)]
Tweak wording in `assertions_on_constants`

4 years agoSplit up `transmute` ui test
Yuki Okushi [Mon, 20 Jan 2020 02:16:50 +0000 (11:16 +0900)]
Split up `transmute` ui test

4 years agoRemove trailing whitespaces
Yuki Okushi [Mon, 20 Jan 2020 01:55:23 +0000 (10:55 +0900)]
Remove trailing whitespaces

4 years agoAdd `skip_while_next` lint
Yuki Okushi [Mon, 20 Jan 2020 01:54:54 +0000 (10:54 +0900)]
Add `skip_while_next` lint

4 years agoAuto merge of #5056 - rust-lang:dissasociate-mut-key, r=flip1995
bors [Sun, 19 Jan 2020 14:41:28 +0000 (14:41 +0000)]
Auto merge of #5056 - rust-lang:dissasociate-mut-key, r=flip1995

Avoid mut_key on types of unknown layout

This fixes #5020 by requiring a known layout for the key type before linting. Edit: This fixes #5043, too.

changelog: none

4 years agoAvoid mut_key on types of unknown layout
Andre Bogus [Thu, 16 Jan 2020 23:18:37 +0000 (00:18 +0100)]
Avoid mut_key on types of unknown layout

4 years agoAuto merge of #5032 - JohnTitor:add-sugg-some-result, r=flip1995
bors [Sun, 19 Jan 2020 12:27:35 +0000 (12:27 +0000)]
Auto merge of #5032 - JohnTitor:add-sugg-some-result, r=flip1995

Add suggestions for `if_let_some_result`

Fixes #4991

This approach may be fragile though...

changelog: Add suggestions for `if_let_some_result`

4 years agoTreat more strange pattern
Yuki Okushi [Sun, 19 Jan 2020 12:14:47 +0000 (21:14 +0900)]
Treat more strange pattern

4 years agoAuto merge of #5066 - JohnTitor:split-up-1447, r=llogiq
bors [Sun, 19 Jan 2020 07:49:48 +0000 (07:49 +0000)]
Auto merge of #5066 - JohnTitor:split-up-1447, r=llogiq

Split up `if_same_then_else` ui test

Part of #2038

changelog: none

4 years agoSplit up `if_same_then_else` ui test
Yuki Okushi [Sun, 19 Jan 2020 06:04:41 +0000 (15:04 +0900)]
Split up `if_same_then_else` ui test

4 years agoApply review comments
Yuki Okushi [Sun, 19 Jan 2020 01:00:34 +0000 (10:00 +0900)]
Apply review comments

4 years agoRun `update_lints`
Yuki Okushi [Fri, 10 Jan 2020 21:02:02 +0000 (06:02 +0900)]
Run `update_lints`

4 years agoReduce span range
Yuki Okushi [Fri, 10 Jan 2020 19:34:01 +0000 (04:34 +0900)]
Reduce span range

4 years agoRename `ok_if_let` to `if_let_some_result`
Yuki Okushi [Fri, 10 Jan 2020 18:29:55 +0000 (03:29 +0900)]
Rename `ok_if_let` to `if_let_some_result`

4 years agoApply review comments
Yuki Okushi [Fri, 10 Jan 2020 18:05:10 +0000 (03:05 +0900)]
Apply review comments

4 years agoAdd suggestion in `if_let_some_result`
Yuki Okushi [Thu, 9 Jan 2020 23:34:13 +0000 (08:34 +0900)]
Add suggestion in `if_let_some_result`

4 years agoAuto merge of #5065 - matthiaskrgr:rustup_28, r=matthiaskrgr
bors [Sat, 18 Jan 2020 22:44:46 +0000 (22:44 +0000)]
Auto merge of #5065 - matthiaskrgr:rustup_28, r=matthiaskrgr

rustup https://github.com/rust-lang/rust/pull/67712

slice_patterns have been stabilized.

changelog: none

4 years agorustup https://github.com/rust-lang/rust/pull/67712
Matthias Krüger [Sat, 18 Jan 2020 22:40:35 +0000 (23:40 +0100)]
rustup https://github.com/rust-lang/rust/pull/67712

slice_patterns have been stabilized.

4 years agoAuto merge of #5046 - JohnTitor:order-nonminimal-bool, r=flip1995
bors [Sat, 18 Jan 2020 19:51:46 +0000 (19:51 +0000)]
Auto merge of #5046 - JohnTitor:order-nonminimal-bool, r=flip1995

Keep the ordering in `nonminimal_bool` lint

I believe it shouldn't cause any regression but feel free to let me know if you have a doubtful example.
Also, splits up `booleans` ui test.

Fixes #5045

changelog: none

4 years agoAuto merge of #5063 - JohnTitor:allow-correctly, r=flip1995
bors [Sat, 18 Jan 2020 16:58:30 +0000 (16:58 +0000)]
Auto merge of #5063 - JohnTitor:allow-correctly, r=flip1995

Allow `unused_self` lint at the function level

Another approach of #5062.
Fixes #5053

changelog: Allow `unused_self` lint at the function level

4 years agoAllow `unused_self` lint at the function level
Yuki Okushi [Sat, 18 Jan 2020 12:05:42 +0000 (21:05 +0900)]
Allow `unused_self` lint at the function level

4 years agoAuto merge of #5057 - rust-lang:pedantic_range_plus_one, r=flip1995
bors [Sat, 18 Jan 2020 10:23:46 +0000 (10:23 +0000)]
Auto merge of #5057 - rust-lang:pedantic_range_plus_one, r=flip1995

Downgrade range_plus_one to pedantic

This fixes #2217

changelog: Downgrade [`range_plus_one`] to `pedantic`

4 years agoDowngrade range_plus_one to pedantic
Andre Bogus [Fri, 17 Jan 2020 09:15:14 +0000 (10:15 +0100)]
Downgrade range_plus_one to pedantic

4 years agoAuto merge of #5059 - JohnTitor:rustup-0118, r=llogiq
bors [Sat, 18 Jan 2020 08:10:56 +0000 (08:10 +0000)]
Auto merge of #5059 - JohnTitor:rustup-0118, r=llogiq

Rustup to rust-lang/rust#68204

changelog: none

4 years agoRustup to rust-lang/rust#68204
Yuki Okushi [Sat, 18 Jan 2020 05:14:36 +0000 (14:14 +0900)]
Rustup to rust-lang/rust#68204

4 years agoAuto merge of #5055 - krishna-veerareddy:fix-new-lint-generator-import, r=llogiq
bors [Thu, 16 Jan 2020 19:43:22 +0000 (19:43 +0000)]
Auto merge of #5055 - krishna-veerareddy:fix-new-lint-generator-import, r=llogiq

Fix new lint generator import

Fix `rustc_lint` import path and add lifetimes to `LateLintPass` in `new_lint` command.

changelog: none

4 years agoAdd lifetimes to `LateLintPass`
Krishna Sai Veera Reddy [Thu, 16 Jan 2020 18:05:29 +0000 (10:05 -0800)]
Add lifetimes to `LateLintPass`

4 years agoFix rustc lint import paths generated by `new_lint`
Krishna Sai Veera Reddy [Thu, 16 Jan 2020 17:44:45 +0000 (09:44 -0800)]
Fix rustc lint import paths generated by `new_lint`

4 years agoAuto merge of #4994 - bradsherman:new_lint_gen, r=flip1995
bors [Thu, 16 Jan 2020 16:24:41 +0000 (16:24 +0000)]
Auto merge of #4994 - bradsherman:new_lint_gen, r=flip1995

Autogenerate new lints

Add option in clippy_dev to automatically generate boilerplate code for adding new lints

example:

`./util/dev new_lint --name=iter_nth_zero --type=late`

Fixes #4942

changelog: none

4 years agoAuto merge of #5054 - flip1995:rustup, r=flip1995
bors [Thu, 16 Jan 2020 15:04:45 +0000 (15:04 +0000)]
Auto merge of #5054 - flip1995:rustup, r=flip1995

Update custom_ice_message.stderr

changelog: none

4 years agoUpdate custom_ice_message.stderr
flip1995 [Thu, 16 Jan 2020 15:01:31 +0000 (16:01 +0100)]
Update custom_ice_message.stderr

4 years agoAdd lint for default lint description
Brad Sherman [Sat, 11 Jan 2020 20:08:27 +0000 (14:08 -0600)]
Add lint for default lint description

- Lint for any new lints that have the default lint description
  from the automation

4 years agoUpdate documentation for adding new lints
Brad Sherman [Sat, 11 Jan 2020 19:26:25 +0000 (13:26 -0600)]
Update documentation for adding new lints

- Add instructions for adding new lints with
  the new automation

4 years agoGenerate new lints easily
Brad Sherman [Wed, 1 Jan 2020 01:07:39 +0000 (18:07 -0700)]
Generate new lints easily

- Add option in clippy_dev to automatically generate boilerplate
  code for adding new lints

4 years agoAuto merge of #5034 - ThibsG:MatchWildErrArmImprove5024, r=flip1995
bors [Wed, 15 Jan 2020 21:17:21 +0000 (21:17 +0000)]
Auto merge of #5034 - ThibsG:MatchWildErrArmImprove5024, r=flip1995

Match wild err arm improvements

This lint should trigger on other identifiers which have `_` prefix (such as `_e`) and only if they are unused in the panic block.

_Note_: the `is_unused` function is greatly inspired from `pat_is_wild` function in [loops lints](https://github.com/rust-lang/rust-clippy/blob/43ac9416d935942d6c7d2b2e0c876c551652c4ec/clippy_lints/src/loops.rs#L1689).
I've been considering doing some refactoring, maybe in utils. Maybe this PR or a new one. What do you think ?

fixes #5024

changelog: none

4 years agoAuto merge of #5048 - justjavac:patch-1, r=llogiq
bors [Wed, 15 Jan 2020 07:35:30 +0000 (07:35 +0000)]
Auto merge of #5048 - justjavac:patch-1, r=llogiq

update license year to 2020

Happy new year 2020

changelog: none

4 years agoupdate license year to 2020
迷渡 [Wed, 15 Jan 2020 07:00:54 +0000 (15:00 +0800)]
update license year to 2020

4 years agoAuto merge of #5023 - rust-lang:doc-main, r=phansch
bors [Tue, 14 Jan 2020 21:21:58 +0000 (21:21 +0000)]
Auto merge of #5023 - rust-lang:doc-main, r=phansch

Omit doc safety/errors header checking for main

This omits checking `main` methods, which are not usually documented in the way the others are.

changelog: none

4 years agoOmit doc safety/errors header checking for main
Andre Bogus [Tue, 14 Jan 2020 17:20:56 +0000 (18:20 +0100)]
Omit doc safety/errors header checking for main

4 years agoSplit up `booleans` ui test
Yuki Okushi [Mon, 13 Jan 2020 22:41:11 +0000 (07:41 +0900)]
Split up `booleans` ui test

4 years agoAuto merge of #4543 - xiongmao86:issue4503, r=flip1995
bors [Mon, 13 Jan 2020 22:09:39 +0000 (22:09 +0000)]
Auto merge of #4543 - xiongmao86:issue4503, r=flip1995

Fix issue4503

Fixes #4503.

changelog: Add a lint checking user are using FileType.is_file() method and suggest using !FileType.is_dir().

- [x] Followed [lint naming conventions][lint_naming]
- [x] Added passing UI tests (including committed `.stderr` file)
- [x] `cargo test` passes locally
- [x] Executed `./util/dev update_lints`
- [x] Added lint documentation
- [x] Run `./util/dev fmt`

4 years agoFix the ordering on `nonminimal_bool`
Yuki Okushi [Mon, 13 Jan 2020 22:08:45 +0000 (07:08 +0900)]
Fix the ordering on `nonminimal_bool`

4 years agoAuto merge of #5033 - JohnTitor:split-use-self, r=flip1995
bors [Mon, 13 Jan 2020 20:21:04 +0000 (20:21 +0000)]
Auto merge of #5033 - JohnTitor:split-use-self, r=flip1995

Split up `use_self` ui test

Part of #2038

changelog: none

4 years agoExtract visitor to utils
ThibsG [Fri, 10 Jan 2020 16:14:17 +0000 (17:14 +0100)]
Extract visitor to utils

4 years agoChange note message
ThibsG [Fri, 10 Jan 2020 14:12:21 +0000 (15:12 +0100)]
Change note message

4 years agoFix formatting
ThibsG [Fri, 10 Jan 2020 14:09:37 +0000 (15:09 +0100)]
Fix formatting

4 years agoBetter binding name on Err for note
ThibsG [Fri, 10 Jan 2020 09:56:09 +0000 (10:56 +0100)]
Better binding name on Err for note

4 years agoMatch underscore-prefixed variable also
ThibsG [Fri, 10 Jan 2020 09:42:21 +0000 (10:42 +0100)]
Match underscore-prefixed variable also

4 years agoAuto merge of #5042 - JohnTitor:rustup-0112, r=phansch
bors [Mon, 13 Jan 2020 13:17:27 +0000 (13:17 +0000)]
Auto merge of #5042 - JohnTitor:rustup-0112, r=phansch

Rustup to rust-lang/rust#68045

This is blocked because `rustc_lint::context` is not pub module and `CheckLintNameResult` is not marked as `pub use`.

changelog: none

4 years agoRustup to rust-lang/rust#68045
Yuki Okushi [Sun, 12 Jan 2020 06:08:41 +0000 (15:08 +0900)]
Rustup to rust-lang/rust#68045

4 years agoPull master, rebase, and update_lints again.
xiongmao86 [Sat, 11 Jan 2020 03:57:49 +0000 (11:57 +0800)]
Pull master, rebase, and update_lints again.

4 years agoUpdate lints again.
xiongmao86 [Wed, 8 Jan 2020 08:56:28 +0000 (16:56 +0800)]
Update lints again.

4 years agoFix grammar error.
xiongmao86 [Wed, 8 Jan 2020 08:50:37 +0000 (16:50 +0800)]
Fix grammar error.

4 years agoUpdate clippy_lints/src/methods/mod.rs
Rui [Wed, 8 Jan 2020 08:40:34 +0000 (16:40 +0800)]
Update clippy_lints/src/methods/mod.rs

Co-Authored-By: Philipp Krones <hello@philkrones.com>
4 years agoChange lint message.
xiongmao86 [Tue, 7 Jan 2020 08:33:33 +0000 (16:33 +0800)]
Change lint message.

4 years ago./util/dev update_lints.
xiongmao86 [Tue, 7 Jan 2020 08:11:34 +0000 (16:11 +0800)]
./util/dev update_lints.

4 years agoFix documents and messages.
Rui [Sun, 5 Jan 2020 12:25:07 +0000 (20:25 +0800)]
Fix documents and messages.

Update clippy_lints/src/methods/mod.rs

4 years agoExtend spans to include !.
xiongmao86 [Sat, 4 Jan 2020 03:27:24 +0000 (11:27 +0800)]
Extend spans to include !.

4 years agoFix lint warning in compile-test.rs
xiongmao86 [Sat, 4 Jan 2020 03:24:09 +0000 (11:24 +0800)]
Fix lint warning in compile-test.rs

4 years agoformat codebase.
xiongmao86 [Sat, 4 Jan 2020 02:18:58 +0000 (10:18 +0800)]
format codebase.

4 years agoAdd lint logic.
xiongmao86 [Fri, 3 Jan 2020 06:59:14 +0000 (14:59 +0800)]
Add lint logic.

4 years agoDeclare lint.
xiongmao86 [Thu, 2 Jan 2020 05:12:23 +0000 (13:12 +0800)]
Declare lint.

4 years agoAdd test.
xiongmao86 [Thu, 2 Jan 2020 03:37:32 +0000 (11:37 +0800)]
Add test.

4 years agoSplit up `use_self` ui test
Yuki Okushi [Thu, 9 Jan 2020 23:56:16 +0000 (08:56 +0900)]
Split up `use_self` ui test

4 years agoAuto merge of #5040 - JohnTitor:rustup-0111, r=flip1995
bors [Sat, 11 Jan 2020 20:32:51 +0000 (20:32 +0000)]
Auto merge of #5040 - JohnTitor:rustup-0111, r=flip1995

Some rustups

changelog: none

4 years agoRemove references
Yuki Okushi [Sat, 11 Jan 2020 20:20:18 +0000 (05:20 +0900)]
Remove references

4 years agoRustup to rust-lang/rust#67000
Yuki Okushi [Sat, 11 Jan 2020 18:41:54 +0000 (03:41 +0900)]
Rustup to rust-lang/rust#67000

4 years agoComment out half-open patterns' tests
Yuki Okushi [Sat, 11 Jan 2020 18:05:47 +0000 (03:05 +0900)]
Comment out half-open patterns' tests

4 years agoApply review comments
Yuki Okushi [Sat, 11 Jan 2020 14:21:09 +0000 (23:21 +0900)]
Apply review comments

4 years agoRustup to rust-lang/rust#67806
Yuki Okushi [Sat, 11 Jan 2020 11:37:08 +0000 (20:37 +0900)]
Rustup to rust-lang/rust#67806

4 years agoApply review comments
Yuki Okushi [Sat, 11 Jan 2020 10:39:43 +0000 (19:39 +0900)]
Apply review comments

4 years agoRustup to rust-lang/rust#68101
Yuki Okushi [Sat, 11 Jan 2020 00:06:09 +0000 (09:06 +0900)]
Rustup to rust-lang/rust#68101

4 years agoRustup to rust-lang/rust#67258
Yuki Okushi [Sat, 11 Jan 2020 00:05:51 +0000 (09:05 +0900)]
Rustup to rust-lang/rust#67258

4 years agoAuto merge of #5031 - JohnTitor:editorconfig, r=phansch
bors [Thu, 9 Jan 2020 21:24:34 +0000 (21:24 +0000)]
Auto merge of #5031 - JohnTitor:editorconfig, r=phansch

Prefer 2 spaces as indent size over 4 on yaml

We use 2 spaces as an indent on YAML like `.travis.yml` now but `.editorconfig` tells my editor that indent size is 4, not 2. It makes my editor confused.

changelog: none

4 years agoAuto merge of #5030 - JohnTitor:split-missing-doc, r=phansch
bors [Thu, 9 Jan 2020 20:54:18 +0000 (20:54 +0000)]
Auto merge of #5030 - JohnTitor:split-missing-doc, r=phansch

Split up `missing-doc` ui test

Part of #2038

changelog: none

4 years agoSplit up `missing-doc` ui test
Yuki Okushi [Thu, 9 Jan 2020 00:04:53 +0000 (09:04 +0900)]
Split up `missing-doc` ui test

4 years agoPrefer 2 spaces as indent size over 4 on yaml
Yuki Okushi [Thu, 9 Jan 2020 08:49:24 +0000 (17:49 +0900)]
Prefer 2 spaces as indent size over 4 on yaml

4 years agoAdd memory fence tests for `invalid_atomic_ordering`
Krishna Sai Veera Reddy [Thu, 9 Jan 2020 17:51:13 +0000 (09:51 -0800)]
Add memory fence tests for `invalid_atomic_ordering`

4 years agoDetect usage of invalid atomic ordering in memory fences
Krishna Sai Veera Reddy [Thu, 9 Jan 2020 17:49:15 +0000 (09:49 -0800)]
Detect usage of invalid atomic ordering in memory fences

Detect usage of `core::sync::atomic::{fence, compiler_fence}`
with `Ordering::Relaxed` and suggest valid alternatives.

4 years agoAuto merge of #4960 - ThibsG:patterns_with_wildcard_#4640, r=flip1995
bors [Thu, 9 Jan 2020 13:51:00 +0000 (13:51 +0000)]
Auto merge of #4960 - ThibsG:patterns_with_wildcard_#4640, r=flip1995

New lint: pats_with_wild_match_arm

Wildcard use with other pattern in same match arm.

The wildcard covers other(s) pattern(s) as it will match anyway.

changelog: add new lint when multiple patterns (including wildcard) are used in a match arm.

Fixes #4640.

4 years agoAuto merge of #5025 - JohnTitor:rustup-0109, r=flip1995
bors [Thu, 9 Jan 2020 12:37:54 +0000 (12:37 +0000)]
Auto merge of #5025 - JohnTitor:rustup-0109, r=flip1995

Some rustups

changelog: none

4 years agoRustup to rust-lang/rust#68024
Yuki Okushi [Thu, 9 Jan 2020 07:14:19 +0000 (16:14 +0900)]
Rustup to rust-lang/rust#68024

4 years agoRustup to rust-lang/rust#67979
Yuki Okushi [Thu, 9 Jan 2020 07:13:22 +0000 (16:13 +0900)]
Rustup to rust-lang/rust#67979

4 years agoRustup to rust-lang/rust#67781
Yuki Okushi [Thu, 9 Jan 2020 00:22:16 +0000 (09:22 +0900)]
Rustup to rust-lang/rust#67781

4 years agoAuto merge of #5022 - flip1995:useless_attr, r=phansch
bors [Wed, 8 Jan 2020 20:28:19 +0000 (20:28 +0000)]
Auto merge of #5022 - flip1995:useless_attr, r=phansch

Fix useless_attribute suggestion

Fixes #5021

changelog: Fix [`useless_attribute`] suggestion, which tripped rustfix

4 years agoAdd regression test for useless_attribute lint
flip1995 [Wed, 8 Jan 2020 16:31:27 +0000 (17:31 +0100)]
Add regression test for useless_attribute lint

4 years agoFix useless attribute suggestion
flip1995 [Wed, 8 Jan 2020 16:31:06 +0000 (17:31 +0100)]
Fix useless attribute suggestion

4 years agoAuto merge of #5017 - sinkuu:mir_no_opt_fallout, r=flip1995
bors [Wed, 8 Jan 2020 12:09:45 +0000 (12:09 +0000)]
Auto merge of #5017 - sinkuu:mir_no_opt_fallout, r=flip1995

Fix redundant_clone lint not working with PathBuf and OsString

https://github.com/rust-lang/rust-clippy/pull/4825 diabled MIR optimization in clippy, including `rustc_mir::transform::InstCombine` which reduces `&(*x)` to `x`. This PR tries to unwrap `&*` when looking into `mir::Rvalue`s.

Fixes #5014.

---

changelog: fixed `redundant_clone` lint not working with `PathBuf` and `OsString`

4 years agoAuto merge of #5015 - krishna-veerareddy:change-float-to-int-transmute-category,...
bors [Wed, 8 Jan 2020 08:42:46 +0000 (08:42 +0000)]
Auto merge of #5015 - krishna-veerareddy:change-float-to-int-transmute-category, r=flip1995

Move `transmute_float_to_int` lint to `complexity`

`transmute_float_to_int` lint was accidentally added to nursery so moving it to the complexity group.

changelog: Move `transmute_float_to_int` out of nursery

4 years agoAuto merge of #5019 - JohnTitor:follow-up-normalize, r=phansch
bors [Wed, 8 Jan 2020 08:14:31 +0000 (08:14 +0000)]
Auto merge of #5019 - JohnTitor:follow-up-normalize, r=phansch

Normalize lint messages in cast_precision_loss

Follow-up of #5000

changelog: none

4 years agoNormalize lint messages in cast_precision_loss
Yuki Okushi [Tue, 7 Jan 2020 21:08:49 +0000 (06:08 +0900)]
Normalize lint messages in cast_precision_loss

4 years agoAuto merge of #5018 - JohnTitor:rustup-0108, r=phansch
bors [Wed, 8 Jan 2020 06:56:57 +0000 (06:56 +0000)]
Auto merge of #5018 - JohnTitor:rustup-0108, r=phansch

Rustup to rust-lang/rust#67970

changelog: none