]>
git.lizzy.rs Git - rust.git/log
flip1995 [Mon, 5 Aug 2019 15:53:55 +0000 (17:53 +0200)]
Ignore no_std-test on windows and macos
flip1995 [Mon, 5 Aug 2019 11:24:31 +0000 (13:24 +0200)]
Run update_lints and fmt
Vincent Dal Maso [Mon, 17 Jun 2019 15:36:42 +0000 (17:36 +0200)]
Move expression check to LateLintPass
Changes:
- Move from EarlyLintPass
- Fix entrypoint check with function path def_id.
Vincent Dal Maso [Thu, 13 Jun 2019 08:58:35 +0000 (10:58 +0200)]
Add recursion check on main function
Changes:
- Add MainRecursion lint to clippy
- Check for no-std setup
fixes #333
bors [Mon, 5 Aug 2019 09:44:45 +0000 (09:44 +0000)]
Auto merge of #4338 - flip1995:rollup-9cm4jbr, r=flip1995
Rollup of 4 pull requests
Successful merges:
- #4329 (Doctests: Enable running doc tests for pedantic lints)
- #4330 (Doctests: Enable running doc tests for nursery lints)
- #4331 (Doctests: Enable running doc tests for restriction lints)
- #4332 (Split up cast.rs tests, run-rustfix for unnecessary_cast)
Failed merges:
r? @ghost
changelog: none
Philipp Krones [Mon, 5 Aug 2019 08:50:07 +0000 (10:50 +0200)]
Rollup merge of #4332 - phansch:rustfix_unnecessary_cast, r=flip1995
Split up cast.rs tests, run-rustfix for unnecessary_cast
This splits up the cast.rs tests and enables rustfix tests for the part
of the `unnecessary_cast` lint that emits `MachineApplicable`
suggestions.
changelog: none
cc #3630
Philipp Krones [Mon, 5 Aug 2019 08:50:06 +0000 (10:50 +0200)]
Rollup merge of #4331 - phansch:doctests_restriction, r=flip1995
Doctests: Enable running doc tests for restriction lints
changelog: Enabled remaining doc tests for lint documentation page
master: 202 passed; 0 failed; 122 ignored; 0 measured; 0 filtered out
this PR: 231 passed; 0 failed; 123 ignored; 0 measured; 0 filtered out
Closes #4319 (assuming this is merged after #4329 and #4330)
Philipp Krones [Mon, 5 Aug 2019 08:50:04 +0000 (10:50 +0200)]
Rollup merge of #4330 - phansch:doctests_nursery, r=flip1995
Doctests: Enable running doc tests for nursery lints
changelog: none
master: 202 passed; 0 failed; 122 ignored; 0 measured; 0 filtered out
this PR: 213 passed; 0 failed; 122 ignored; 0 measured; 0 filtered out
cc #4319
Philipp Krones [Mon, 5 Aug 2019 08:50:03 +0000 (10:50 +0200)]
Rollup merge of #4329 - phansch:doctests_pedantic, r=flip1995
Doctests: Enable running doc tests for pedantic lints
changelog: none
master: 202 passed; 0 failed; 122 ignored; 0 measured; 0 filtered out
this PR: 254 passed; 0 failed; 131 ignored; 0 measured; 0 filtered out
cc #4319
bors [Mon, 5 Aug 2019 08:41:24 +0000 (08:41 +0000)]
Auto merge of #4337 - flip1995:let_unit, r=phansch
Make let_unit lint suggestion auto applicable
changelog: Make `let_unit` lint suggestion auto applicable
bors [Mon, 5 Aug 2019 08:00:39 +0000 (08:00 +0000)]
Auto merge of #4333 - phansch:rustfix_decimal_literal_representation, r=flip1995
Add run-rustfix for decimal_literal_representation lint
changelog: none
cc #3630
flip1995 [Mon, 5 Aug 2019 07:30:24 +0000 (09:30 +0200)]
Add tests for auto fixable let_unit suggestion
flip1995 [Mon, 5 Aug 2019 07:29:39 +0000 (09:29 +0200)]
Make let_unit lint suggestion auto applicable
bors [Mon, 5 Aug 2019 07:23:07 +0000 (07:23 +0000)]
Auto merge of #4336 - phansch:rustup, r=flip1995
Rustup to https://github.com/rust-lang/rust/pull/63213
changelog: none
Philipp Hansch [Mon, 5 Aug 2019 05:30:01 +0000 (07:30 +0200)]
Rustup to https://github.com/rust-lang/rust/pull/63213
Philipp Hansch [Sun, 4 Aug 2019 08:21:52 +0000 (10:21 +0200)]
Add run-rustfix for decimal_literal_representation lint
cc #3630
Philipp Hansch [Sun, 4 Aug 2019 06:24:23 +0000 (08:24 +0200)]
Split up cast.rs tests, run-rustfix for unnecessary_cast
This splits up the cast.rs tests and enables rustfix tests for the part
of the `unnecessary_cast` lint that emits `MachineApplicable`
suggestions.
cc #3630
Philipp Hansch [Sat, 3 Aug 2019 19:24:50 +0000 (21:24 +0200)]
Doctests: Enable running doc tests for restriction lints
Philipp Hansch [Sat, 3 Aug 2019 19:01:23 +0000 (21:01 +0200)]
Doctests: Enable running doc tests for nursery lints
Philipp Hansch [Sat, 3 Aug 2019 16:42:05 +0000 (18:42 +0200)]
Doctests: Enable running doc tests for pedantic lints
bors [Sat, 3 Aug 2019 14:06:13 +0000 (14:06 +0000)]
Auto merge of #4327 - phansch:doctests_perf, r=flip1995
Doctests: Enable running doc tests for perf lints
changelog: none
This should be possible to merge independently of #4325
cc #4319
bors [Sat, 3 Aug 2019 13:24:07 +0000 (13:24 +0000)]
Auto merge of #4325 - phansch:doctests_complexity, r=flip1995
Doctests: Enable running doc tests for complexity lints
changelog: none
master: `113 passed; 0 failed; 91 ignored; 0 measured; 0 filtered out`
this PR: `181 passed; 0 failed; 110 ignored; 0 measured; 0 filtered out`
cc #4319
bors [Sat, 3 Aug 2019 11:39:51 +0000 (11:39 +0000)]
Auto merge of #4328 - phansch:rustup, r=phansch
Rustup to latest rustc master
Broken due to:
* https://github.com/rust-lang/rust/pull/63180 (`Existential` -> `OpaqueTy`)
* https://github.com/rust-lang/rust/pull/63121 (New fields for `FormatSpec`)
changelog: none
Philipp Hansch [Sat, 3 Aug 2019 10:30:51 +0000 (12:30 +0200)]
Ignore missing rustfmt
Philipp Hansch [Sat, 3 Aug 2019 06:44:32 +0000 (08:44 +0200)]
Rustup to latest rustc master
Broken due to:
* https://github.com/rust-lang/rust/pull/63180 (`Existential` -> `OpaqueTy`)
* https://github.com/rust-lang/rust/pull/63121 (New fields for `FormatSpec`)
Philipp Hansch [Sat, 3 Aug 2019 06:12:53 +0000 (08:12 +0200)]
Also enable doc tests for internal lints
Because there were fixed in the parent commit.
Philipp Hansch [Sat, 3 Aug 2019 06:01:27 +0000 (08:01 +0200)]
Doctests: Enable running doc tests for perf lints
This should be possible to merge independently of #4325
cc #4319
Philipp Hansch [Fri, 2 Aug 2019 06:13:54 +0000 (08:13 +0200)]
Doctests: Fix all complexity lint docs
cc #4319
bors [Thu, 1 Aug 2019 18:58:11 +0000 (18:58 +0000)]
Auto merge of #4322 - Y0hy0h:patch-1, r=phansch
Improve documentation on implicit_hasher lint
Provide an example of how to fix the implicit_hasher lint.
Fixes #3475.
changelog: none
Y0hy0h [Thu, 1 Aug 2019 15:54:22 +0000 (17:54 +0200)]
Fix missing import
bors [Thu, 1 Aug 2019 14:09:59 +0000 (14:09 +0000)]
Auto merge of #4314 - chansuke:add-negation-to-is_empty, r=flip1995
Add negation to `len_zero` lint to show more explicit message.
Fixes #4304 I have updated the `len_zero` to show the required negation in case of like the below case.
```
fn main() {
let v = vec![1];
if v.len() > 0 {
}
}
```
changelog: Clarify suggestion of `len_zero` lint.
chansuke [Thu, 1 Aug 2019 13:20:08 +0000 (22:20 +0900)]
Update `stderr` file
bors [Thu, 1 Aug 2019 13:18:04 +0000 (13:18 +0000)]
Auto merge of #4307 - flip1995:unnecessary_unwrap, r=oli-obk
Move {unnecessary,panicking}_unwrap out of nursery
Resolves #2437
changelog: Move `{unnnecessary,panicking}_unwrap` out of nursery
flip1995 [Thu, 1 Aug 2019 10:53:20 +0000 (12:53 +0200)]
Fix doc tests
flip1995 [Tue, 30 Jul 2019 07:51:45 +0000 (09:51 +0200)]
Remove Known problems for UNNECESSARY_UNWRAP
This shouldn't happen with NLL
flip1995 [Tue, 30 Jul 2019 07:50:56 +0000 (09:50 +0200)]
Move UNNECESSARY_UNWRAP to complexity and PANICKING_UNWRAP to correctness
bors [Thu, 1 Aug 2019 09:20:32 +0000 (09:20 +0000)]
Auto merge of #4318 - izik1:typo, r=phansch
Fix `for on` typo
<!--
Thank you for making Clippy better!
We're collecting our changelog from pull request descriptions.
If your PR only updates to the latest nightly, you can leave the
`changelog` entry as `none`. Otherwise, please write a short comment
explaining your change.
If your PR fixes an issue, you can add "fixes #issue_number" into this
PR description. This way the issue will be automatically closed when
your PR is merged.
If you added a new lint, here's a checklist for things that will be
checked during review or continuous integration.
- [ ] Followed [lint naming conventions][lint_naming]
- [ ] Added passing UI tests (including committed `.stderr` file)
- [ ] `cargo test` passes locally
- [ ] Executed `util/dev update_lints`
- [ ] Added lint documentation
- [ ] Run `cargo fmt`
Note that you can skip the above if you are just opening a WIP PR in
order to get feedback.
Delete this line and everything above before opening your PR -->
closes #4317
changelog: minor typo fix
Y0hy0h [Thu, 1 Aug 2019 08:51:39 +0000 (10:51 +0200)]
Improve documentation on implicit_hasher lint
Provide an example of how to fix the lint.
bors [Thu, 1 Aug 2019 08:40:15 +0000 (08:40 +0000)]
Auto merge of #4316 - phansch:method_rs_cleanup2, r=flip1995
UI Test Cleanup: No wrong_self_convention in methods.rs
These cases are already covered in `tests/ui/wrong_self_convention.rs`.
cc #2038
changelog: none
bors [Thu, 1 Aug 2019 07:59:51 +0000 (07:59 +0000)]
Auto merge of #4315 - phansch:fn_to_numeric_cast_applicability, r=flip1995
Mark `fn_to_numeric_cast` lints as MaybeIncorrect
At least for now so that `cargo fix --clippy` is not causing problems
with this lint. See #3896 for the remaining problems with the suggestions of this lint.
changelog: none
cc #3630, #3896
bors [Thu, 1 Aug 2019 07:24:32 +0000 (07:24 +0000)]
Auto merge of #4303 - mikerite:dev-fmt-
20190728 , r=flip1995
Make fmt test and command more robust
changelog: none
Zachery Gyurkovitz [Thu, 1 Aug 2019 05:24:57 +0000 (22:24 -0700)]
Fix `for on` typo
Michael Wright [Thu, 1 Aug 2019 05:09:57 +0000 (07:09 +0200)]
Update formatting
Michael Wright [Thu, 1 Aug 2019 05:02:48 +0000 (07:02 +0200)]
Merge branch 'master' into dev-fmt-
20190728
Philipp Hansch [Thu, 1 Aug 2019 04:54:57 +0000 (06:54 +0200)]
UI Test Cleanup: No wrong_self_convention in methods.rs
These cases are already covered in `tests/ui/wrong_self_convention.rs`.
cc #2038
Philipp Hansch [Wed, 31 Jul 2019 19:05:31 +0000 (21:05 +0200)]
Mark `fn_to_numeric_cast` lints as MaybeIncorrect
At least for now so that `cargo fix --clippy` is not causing problems
with this lint.
cc #3630, #3896
bors [Wed, 31 Jul 2019 17:57:57 +0000 (17:57 +0000)]
Auto merge of #4313 - Manishearth:owl, r=yaahallo
Don't nudge people towards toilet closures when producing owl results
`.map_err(drop)` should never be linted since sometimes you want to produce `Result<(), ()>` and the alternative is `.map_err(|_| ())`, which can be ugly. We don't seem to, but it's good to specifically test for this.
changelog: none
r? @yaahallo
Manish Goregaokar [Wed, 31 Jul 2019 15:38:08 +0000 (08:38 -0700)]
Don't nudge people towards toilet closures when producing owl results
chansuke [Mon, 29 Jul 2019 14:42:33 +0000 (23:42 +0900)]
Add required negation in non_zero lint
bors [Wed, 31 Jul 2019 14:50:01 +0000 (14:50 +0000)]
Auto merge of #4308 - jakubadamw:use-self-variant-scope, r=flip1995
Extend the `use_self` lint to suggest uses of `Self::Variant`
Fixes #4296.
changelog: Extend the `use_self` lint to suggest uses of `Self::Variant`
Jakub Wieczorek [Wed, 31 Jul 2019 00:25:35 +0000 (00:25 +0000)]
Update all the code to pass the updated `use_self` lint.
One struct required a temporary `#[allow(dead_code)]` annotation due to
a bug in the Rust compiler: https://github.com/rust-lang/rust/issues/63151.
Jakub Wieczorek [Wed, 31 Jul 2019 00:24:28 +0000 (00:24 +0000)]
Extend the `use_self` lint to suggest uses of `Self::Variant`.
bors [Tue, 30 Jul 2019 12:11:17 +0000 (12:11 +0000)]
Auto merge of #3766 - xd009642:issue-3764, r=flip1995
trait bounds lint - repeated types
This PR is to tackle https://github.com/rust-lang/rust-clippy/issues/3764 it's still a WIP and doesn't work but this is an initial stab. It builds though I haven't added any tests as I'm not sure where lint tests should go?
Unfortunately, it seems id isn't tied to the type itself but I guess where it is in the AST? Looking at https://manishearth.github.io/rust-internals-docs/syntax/ast/struct.Ty.html I can't see any members that would let me tell if a type was repeated in multiple trait bounds.
There may be other issues with how I've implemented this so any assistance is appreciated!
changelog: Add new lint: `type_repetition_in_bounds`
bors [Tue, 30 Jul 2019 08:57:29 +0000 (08:57 +0000)]
Auto merge of #4306 - mikerite:fix-breakage-
20190730 , r=flip1995
Fix breakage due to rust-lang/rust#61856
changelog: none
Michael Wright [Tue, 30 Jul 2019 04:37:49 +0000 (06:37 +0200)]
Fix breakage due to rust-lang/rust#61856
Michael Wright [Mon, 29 Jul 2019 05:54:03 +0000 (07:54 +0200)]
Correct typo
Michael Wright [Mon, 29 Jul 2019 05:51:44 +0000 (07:51 +0200)]
Make appveyor build ignore rustfmt unavailability
xd009642 [Sun, 28 Jul 2019 08:31:05 +0000 (09:31 +0100)]
Fix dogfood test
Michael Wright [Sun, 28 Jul 2019 04:41:29 +0000 (06:41 +0200)]
Enable rustfmt tests
This reverts commit
d73a953db7a8120ec00b31c57d7092aff0f2c10b .
Michael Wright [Sun, 28 Jul 2019 04:41:25 +0000 (06:41 +0200)]
Skip fmt test if rustfmt is unavailble
Michael Wright [Sun, 28 Jul 2019 04:41:13 +0000 (06:41 +0200)]
dev-fmt: better error handling
Check if rustfmt is installed at the start and exit if it isn't.
xd009642 [Sat, 27 Jul 2019 22:04:36 +0000 (23:04 +0100)]
Hash discriminant of lifetime.name
xd009642 [Sat, 27 Jul 2019 21:59:46 +0000 (22:59 +0100)]
Hash discriminant of Lifetime::Name
xd009642 [Sat, 27 Jul 2019 21:53:26 +0000 (22:53 +0100)]
Updated tests.
Removed unnecessary type repetition in float test and regenerated stderr
Regenerated type_repetition stderr
xd009642 [Sat, 27 Jul 2019 20:58:29 +0000 (21:58 +0100)]
Respond to review comments
Update README and CHANGELOG using the util scripts, refine the help message and fix the float_cmp error.
bors [Sat, 27 Jul 2019 16:53:00 +0000 (16:53 +0000)]
Auto merge of #4301 - flip1995:dummy, r=Manishearth
Bump version of clippy_dummy
The crates.io page of clippy still suggest to install `clippy-preview`
instead of `clippy` I think it's time to change this.
Thanks to the Stuttgart Meetup for discovering this!
r? @Manishearth could you also publish this after merging?
changelog: none
bors [Sat, 27 Jul 2019 15:52:14 +0000 (15:52 +0000)]
Auto merge of #4302 - matthiaskrgr:rustup_13, r=phansch
rustup https://github.com/rust-lang/rust/pull/62964
changelog: none
Matthias Krüger [Fri, 26 Jul 2019 21:33:02 +0000 (23:33 +0200)]
ci: temporarily disable rustfmt checks/tetss since it's broken for nightly
xd009642 [Sat, 27 Jul 2019 11:07:02 +0000 (12:07 +0100)]
Updated test stderr
xd009642 [Sat, 27 Jul 2019 11:06:25 +0000 (12:06 +0100)]
Added doc comment fixed type printout
Added a doc comment for the lint and fixed the printout of the type so it prints T not type(T)
xd009642 [Sat, 27 Jul 2019 10:51:27 +0000 (11:51 +0100)]
Respond to comments and improve printout
Now get the trait names for the diagnostic message and removed more
`let c: fn(_) -> _ = T; hashes from hir_utils
Matthias Krüger [Fri, 26 Jul 2019 20:58:31 +0000 (22:58 +0200)]
rustup https://github.com/rust-lang/rust/pull/62964
flip1995 [Fri, 26 Jul 2019 19:01:18 +0000 (21:01 +0200)]
Bump version of clippy_dummy
The crates.io page of clippy still suggest to install `clippy-preview`
instead of `clippy` I think it's time to change this.
Thanks to the Stuttgart Meetup for discovering this!
xd009642 [Fri, 26 Jul 2019 15:46:47 +0000 (16:46 +0100)]
Responded to comments and fixed compile bug
Removed the hash of `let c: fn(_,_) -> _ = ExprKind::Cast` and
fixed compile issue by collecting HirVec into an actual Vec
xd009642 [Wed, 24 Jul 2019 21:59:32 +0000 (22:59 +0100)]
Fixed more compile errors
Moved to rustc::hir::Ty
xd009642 [Wed, 24 Jul 2019 21:27:12 +0000 (22:27 +0100)]
Fix some of the compile errors
xd009642 [Sat, 22 Jun 2019 21:22:11 +0000 (22:22 +0100)]
Changed Ty to ty, added lifetime 'tcx
xd009642 [Fri, 15 Feb 2019 20:21:13 +0000 (20:21 +0000)]
Lint for type repetition in trait bounds.
This lint adds warning if types are redundantly repeated in trait bounds i.e. `T: Copy, T: Clone` instead of `T: Copy + Clone`. This is a late pass trait lint and has necessitated the addition of code to allow hashing of TyKinds without taking into account Span information.
bors [Wed, 24 Jul 2019 04:56:28 +0000 (04:56 +0000)]
Auto merge of #4297 - matthiaskrgr:rustup_12, r=matthiaskrgr
rustup
changelog: none
Matthias Krüger [Wed, 24 Jul 2019 00:24:27 +0000 (02:24 +0200)]
update test stderr, not sure which rustc pull request caused this.
Matthias Krüger [Wed, 24 Jul 2019 00:20:36 +0000 (02:20 +0200)]
rustup https://github.com/rust-lang/rust/pull/62859
bors [Tue, 23 Jul 2019 09:52:18 +0000 (09:52 +0000)]
Auto merge of #4266 - uHOOCCOOHu:fix/async_fn_lifetime, r=flip1995
Ignore generated fresh lifetimes in elision check
<!--
Thank you for making Clippy better!
We're collecting our changelog from pull request descriptions.
If your PR only updates to the latest nightly, you can leave the
`changelog` entry as `none`. Otherwise, please write a short comment
explaining your change.
If your PR fixes an issue, you can add "fixes #issue_number" into this
PR description. This way the issue will be automatically closed when
your PR is merged.
If you added a new lint, here's a checklist for things that will be
checked during review or continuous integration.
- [ ] Followed [lint naming conventions][lint_naming]
- [ ] Added passing UI tests (including committed `.stderr` file)
- [ ] `cargo test` passes locally
- [ ] Executed `util/dev update_lints`
- [ ] Added lint documentation
- [ ] Run `cargo fmt`
Note that you can skip the above if you are just opening a WIP PR in
order to get feedback.
Delete this line and everything above before opening your PR -->
fixes #3988
changelog: Ignore generated fresh lifetimes in elision check.
**HELP**: It seems `tests/ui` are compiled under edition 2015, and I don't know how to add tests for this properly.
Here is the test input it had already passed:
```rust
#![feature(async_await)]
#![allow(dead_code)]
async fn sink1<'a>(_: &'a str) {} // lint
async fn sink1_elided(_: &str) {} // ok
async fn one_to_one<'a>(s: &'a str) -> &'a str { s } // lint
async fn one_to_one_elided(s: &str) -> &str { s } // ok
async fn all_to_one<'a>(a: &'a str, _b: &'a str) -> &'a str { a } // ok
// async fn unrelated(_: &str, _: &str) {} // Not allowed in async fn
// #3988
struct Foo;
impl Foo {
pub async fn foo(&mut self) {} // ok
}
// rust-lang/rust#61115
async fn print(s: &str) { // ok
println!("{}", s);
}
fn main() {}
```
uHOOCCOOHu [Mon, 22 Jul 2019 19:59:09 +0000 (03:59 +0800)]
Fix tests for edition 2018 compatibility
uHOOCCOOHu [Mon, 22 Jul 2019 18:57:49 +0000 (02:57 +0800)]
Revert "Revert global fmt config and use `rustfmt::skip`"
This reverts commit
b70b3b14aa3125fe4f74a6a71fb7a7b7e78ab13f .
bors [Sun, 21 Jul 2019 13:48:30 +0000 (13:48 +0000)]
Auto merge of #4292 - mikerite:fix-breakage-
20190721 , r=matthiaskrgr
Fix breakage due to rust-lang/rust#62705
Also rename `OUTER_EXPN_INFO` to `OUTER_EXPN_EXPN_INFO` to match new
function names.
changelog: none
Michael Wright [Sun, 21 Jul 2019 10:52:14 +0000 (12:52 +0200)]
Fix breakage due to rust-lang/rust#60913
Michael Wright [Sun, 21 Jul 2019 07:36:31 +0000 (09:36 +0200)]
Fix breakage due to rust-lang/rust#62705
Also rename `OUTER_EXPN_INFO` to `OUTER_EXPN_EXPN_INFO` to match new
function names.
uHOOCCOOHu [Fri, 19 Jul 2019 16:50:18 +0000 (00:50 +0800)]
Revert global fmt config and use `rustfmt::skip`
uHOOCCOOHu [Fri, 19 Jul 2019 15:03:34 +0000 (23:03 +0800)]
Fix fmt
bors [Fri, 19 Jul 2019 14:44:36 +0000 (14:44 +0000)]
Auto merge of #4287 - matthiaskrgr:rustup_11, r=phansch
rustup https://github.com/rust-lang/rust/pull/62679/
changelog: none
Matthias Krüger [Fri, 19 Jul 2019 14:41:10 +0000 (16:41 +0200)]
rustup https://github.com/rust-lang/rust/pull/62679/
bors [Fri, 19 Jul 2019 07:25:55 +0000 (07:25 +0000)]
Auto merge of #4286 - phansch:update_pulldown_cmark3, r=flip1995
Update pulldown-cmark to 0.5.3
Fixes a couple of crashes of which I added one example to our tests.
changelog: Update `pulldown-cmark` to 0.5.3 to fix potential crashes in `doc_markdown` lint
bors [Fri, 19 Jul 2019 05:31:31 +0000 (05:31 +0000)]
Auto merge of #4285 - matthiaskrgr:rustup_backticks, r=phansch
rustup https://github.com/rust-lang/rust/pull/62764
(was merged as part of https://github.com/rust-lang/rust/pull/62782 )
changelog: none
Philipp Hansch [Fri, 19 Jul 2019 05:18:10 +0000 (07:18 +0200)]
Update pulldown-cmark to 0.5.3
Matthias Krüger [Thu, 18 Jul 2019 22:35:32 +0000 (00:35 +0200)]
rustup https://github.com/rust-lang/rust/pull/62764
(was merged as part of https://github.com/rust-lang/rust/pull/62782 )
bors [Thu, 18 Jul 2019 18:57:32 +0000 (18:57 +0000)]
Auto merge of #4282 - phansch:decrease_stderr_maximum_length, r=flip1995
Decrease maximum length for stderr files
Now at 275.
changelog: none
cc #2038
uHOOCCOOHu [Thu, 18 Jul 2019 18:43:10 +0000 (02:43 +0800)]
Add test
bors [Thu, 18 Jul 2019 18:20:40 +0000 (18:20 +0000)]
Auto merge of #4274 - daxpedda:implicit_return_fixes, r=flip1995
false positives fixes of `implicit_return`
- Handle returning macro statements properly (remove "this error originates in a macro outside of the current crate")
- Handle functions that return never type
- Handle functions that panic but do not return never type
changelog: Fix false positives in `implicit_return` lint pertaining to macros and panics
bors [Thu, 18 Jul 2019 17:16:28 +0000 (17:16 +0000)]
Auto merge of #4284 - flip1995:rustfmt, r=phansch
Format code
changelog: none
flip1995 [Thu, 18 Jul 2019 15:23:22 +0000 (17:23 +0200)]
Format code