flip1995
935b94d80b
Sort output of export.py script
2020-02-12 09:34:27 +01:00
flip1995
e59361f723
Limit parallel jobs on try/r+ runs
...
Rate limit of 60 applies org wide, let's not spam.
Thanks pietroalbini for the hint
2020-02-12 09:34:27 +01:00
flip1995
b9580fcef7
Cancle builds on new commits
2020-02-12 09:34:27 +01:00
flip1995
d7620a3e62
Add GHA badge to README.md
...
Add a FIXME to Cargo.toml
2020-02-12 09:34:26 +01:00
flip1995
8f45387490
Small change to comment in .gitignore
2020-02-12 09:34:26 +01:00
flip1995
893e261a99
Add deployment to GHA
2020-02-12 09:34:26 +01:00
flip1995
92811675ce
Move integration tests in clippy_bors.yml
...
Some call it the integration integration
2020-02-12 09:34:26 +01:00
flip1995
66b5e2212d
Add Clippy Test to GHA
2020-02-12 09:34:26 +01:00
flip1995
f5db351a1d
Get {RUSTUP,MULTIRUST}_{HOME,TOOLCHAIN} from runtime environment
...
Keep the fallback to compile-time environment
2020-02-12 09:34:26 +01:00
flip1995
ff8336b0a0
Check if changelog exists
2020-02-12 09:34:26 +01:00
flip1995
1717a6f7d5
Ignore fmt test in GHA CI
...
This is already checked by clippy_dev.yml GHA
2020-02-12 09:34:26 +01:00
flip1995
d14ee8a4b1
Add Clippy Test (bors) to GHA
2020-02-12 09:34:25 +01:00
flip1995
757bbf7feb
Fix markdown Files
...
Rendered:
[CHANGELOG.md](https://github.com/flip1995/rust-clippy/blob/gha/CHANGELOG.md )
[CODE_OF_CONDUCT.md](https://github.com/flip1995/rust-clippy/blob/gha/CODE_OF_CONDUCT.md )
[CONTRIBUTING.md](https://github.com/flip1995/rust-clippy/blob/gha/CONTRIBUTING.md )
[README.md](https://github.com/flip1995/rust-clippy/blob/gha/README.md )
[clippy_dummy/PUBLISH.md](https://github.com/flip1995/rust-clippy/blob/gha/clippy_dummy/PUBLISH.md )
[doc/adding_lints.md](https://github.com/flip1995/rust-clippy/blob/gha/doc/adding_lints.md )
[etc/relicense/RELICENSE_DOCUMENTATION.md](https://github.com/flip1995/rust-clippy/blob/gha/etc/relicense/RELICENSE_DOCUMENTATION.md )
2020-02-12 09:34:25 +01:00
flip1995
2a7a3aa946
Rename .remarkrc.json -> .remarkrc and fix file
2020-02-12 09:34:25 +01:00
flip1995
20c3319961
Add remark check to GHA
2020-02-12 09:34:25 +01:00
flip1995
1158c18ae7
Add clippy_dev checks to GitHub Actions
2020-02-12 09:34:25 +01:00
flip1995
2f8ef89a8b
Add integration test GitHub action
2020-02-12 09:34:25 +01:00
bors
07f1736390
Auto merge of #5158 - lzutao:callbackshook, r=flip1995
...
Impl DefaultCallbacks on our side
cc https://github.com/rust-lang/rust/pull/69059#discussion_r377643560
changelog: none
2020-02-11 22:22:05 +00:00
bors
80c0afe5ee
Auto merge of #5152 - flip1995:rustup, r=flip1995
...
Rustup to rust-lang/rust#68725
Preparation for rust-lang/rust#68725
changelog: none
2020-02-11 20:54:49 +00:00
Lzu Tao
bfc4bd4dbe
Impl DefaultCallbacks on our side
2020-02-11 22:52:00 +07:00
bors
e1c0a50ea9
Auto merge of #5155 - krishna-veerareddy:remove-unused-imports, r=flip1995
...
Remove unnecessary `Lint{Array|Pass}` imports
changelog: none
2020-02-11 14:25:21 +00:00
Krishna Sai Veera Reddy
fcc3e7238f
Remove unnecessary imports from tests
2020-02-11 06:20:47 -08:00
Krishna Sai Veera Reddy
1e117938cf
Remove unnecessary imports from documentation
2020-02-10 19:37:25 -08:00
Krishna Sai Veera Reddy
6b4cae18dd
Remove unnecessary imports from new_lint
tool
2020-02-10 19:24:01 -08:00
bors
63f818e67d
Auto merge of #5151 - flip1995:fix_run_pass_tests, r=flip1995
...
Fix run-pass tests when CARGO_TARGET_DIR is not set
r? @lzutao
I got
```
thread '[ui] ui/crashes/ice-1969.rs' panicked at 'failed to exec `"target/debug/test_build_base/crashes/ice-1969.stage-id"`: Os { code: 2, kind: NotFound, message: "No such file or directory" }', /home/pkrones/.cargo/registry/src/github.com-1ecc6299db9ec823/compiletest_rs-0.4.0/src/runtest.rs:1350:25
```
on tests with `// run-pass` locally. The reason for this is, that I haven't set `CARGO_TARGET_DIR` and then `"target"` was used as the `CARGO_TARGET_DIR`. It seems, that `compiletest-rs` cannot deal with relative paths for `// run-pass` tests.
changelog: none
2020-02-10 16:02:30 +00:00
Philipp Krones
c86c09b19a
Use current_dir instead of cargo_metadata
...
Co-Authored-By: lzutao <taolzu@gmail.com>
2020-02-10 16:42:50 +01:00
flip1995
57b636422a
Rustup to rust-lang/rust#68725
2020-02-10 15:59:21 +01:00
flip1995
f940b04de6
Fix run-pass tests when CARGO_TARGET_DIR is not set
2020-02-10 15:51:51 +01:00
bors
c066807a70
Auto merge of #5148 - krishna-veerareddy:issue-5147-option-env-unwrap, r=flip1995
...
Add `option-env-unwrap` lint
changelog: Add `option-env-unwrap` lint
Fixes #5147
2020-02-10 08:08:53 +00:00
Krishna Sai Veera Reddy
b48b221f80
Use PATH
environment variable for testing
...
The tests were failing on windows because the `HOME` env variable
doesn't exist on it so using the `PATH` variable to test instead.
2020-02-09 15:35:51 -08:00
bors
701a5791ac
Auto merge of #5150 - krishna-veerareddy:rustup-69004, r=flip1995
...
Rustup to rust-lang/rust#68911
changelog: none
2020-02-09 22:59:08 +00:00
Krishna Sai Veera Reddy
46bd185e32
Rustup to rust-lang/rust#68911
2020-02-09 14:44:17 -08:00
Krishna Sai Veera Reddy
a3a1587a1c
Allow option-env-unwrap
within external macros
2020-02-09 10:58:08 -08:00
Krishna Sai Veera Reddy
0e5ba2f0e7
Account for expect
being used to unwrap Option
2020-02-09 08:54:23 -08:00
bors
ab0cb309e2
Auto merge of #5145 - lzutao:rmeta, r=flip1995
...
Fix error E0460 when compiled on Rustc repo
Sadly, this mostly reverts #5121 . Now I use HashMap to only store one rlib
per crate. But that would not work when non-compatible version of the same crate show up.
changelog: none
2020-02-09 12:44:23 +00:00
Lzu Tao
9eb913a7e2
Fix error E0460 when compiled on Rustc repo
2020-02-09 19:02:27 +07:00
bors
2d9ef4e9f9
Auto merge of #5149 - lzutao:rustup-65232, r=flip1995
...
Rustup "index ReEmpty by universe"
cc https://github.com/rust-lang/rust/pull/65232
changelog: none
2020-02-09 11:08:43 +00:00
Lzu Tao
5328b5d667
Rustup "index ReEmpty by universe"
2020-02-09 15:31:47 +07:00
Krishna Sai Veera Reddy
be1bc571c3
Add option-env-unwrap
lint
2020-02-08 16:44:35 -08:00
bors
4ad6fb3fb0
Auto merge of #5140 - lzutao:cleanup-replace, r=flip1995
...
Minor edit to text region replacement
changelog: none
2020-02-07 22:41:04 +00:00
bors
550affd763
Auto merge of #5146 - lzutao:rustup, r=flip1995
...
Rustup https://github.com/rust-lang/rust/pull/67359
cc https://github.com/rust-lang/rust/pull/67359
changelog: none
2020-02-07 08:28:41 +00:00
Lzu Tao
9a12baad35
Update CARGO_TARGET_DIR
2020-02-07 14:41:04 +07:00
Lzu Tao
c6a4beaf56
Rustup https://github.com/rust-lang/rust/pull/67359
2020-02-07 10:40:09 +07:00
Lzu Tao
cf58537bd6
dev: Move DOCS_LINK out of lazy_static and reuse it
2020-02-07 08:33:05 +07:00
Lzu Tao
344603afce
dev: Make UpdateMode a copy type
2020-02-07 08:33:05 +07:00
Lzu Tao
729f943c53
dev: Prefer fs::read*
and improvement to replace text region
2020-02-07 08:33:05 +07:00
bors
b5e6d6db41
Auto merge of #5134 - flip1995:snippet_block, r=phansch
...
Make it possible to correctly indent snippet_block snippets
This adds a `indent_relative_to` arg to the `{snippet,expr}_block` functions. This makes it possible to keep the correct indentation of block like suggestions.
In addition, this makes the `trim_multiline` function private and adds a `indent_of` function, to get the indentation of the first line of a span.
The suggestion of `needless_continue` cannot be made auto applicable, since it would be also necessary to remove code following the linted expression. (Well, maybe it is possible, but I don't know how to do it. Expanding the suggestion span to the last expression, that should be removed didn't work)
changelog: Improve suggestions, when blocks of code are involved
2020-02-06 21:41:50 +00:00
bors
ee842df61d
Auto merge of #5143 - flip1995:rustup, r=flip1995
...
Rustup to rust-lang/rust#68788
cc rust-lang/rust#68901
changelog: none
2020-02-06 20:53:17 +00:00
flip1995
9897927504
Rustup to rust-lang/rust#68788
2020-02-06 20:33:39 +01:00
flip1995
e23881e131
Rename ctx->cx in needless_continue
2020-02-06 19:15:01 +01:00