about summary refs log tree commit diff
path: root/src/tools
AgeCommit message (Collapse)AuthorLines
2019-01-16Fix release manifest generationJethro Beekman-0/+1
2019-01-15submodules: update clippy from c63b6349 to 1b89724bMatthias Krüger-10/+15
Changes: ```` Really fix issue number in `map_clone` test Fix issue number in `map_clone` test Remove `map_clone` fixed known problem Fix `map_clone` bad suggestion Add run-rustfix to unnecessary_fold Add run-rustfix to unit_arg test Add run-rustfix for types test Add run-rustfix to starts_ends_with Add run-rustfix to replace_const test Add run-rustfix to redundant_field_names Missing docs: don't require documenting Global Asm items. Add run-rustfix for precedence test Add run-rustfix to mem_replace test Add run-rustfix to map_clone test Add run-rustfix to large_digit_groups Add run-rustfix to into_iter_on_ref Add run-rustfix to infallible_destructuring_match Add rustfix to inconsistent_digit_grouping test Add run-rustfix to explicit_write test Add run-rustfix to excessive_precision test Add run-rustfix to duration_subsec test Disable deprecated_cfg_attr lint for inner attributes Add run-rustfix to collapsible_if test Update Readme Update Readme for (arguably) better readability rustup: the features if_while_or_patterns has been stabilized Fix comments in clippy_lints/src/len_zero.rs readme: update travis badge to reflect migration from travis-ci.org to travis-ci.com Remove all copyright license headers Move cast_ref_to_mut list to correctness group Rustftmt Don't import ty::Ref in cast_ref_to_mut lint Move a hint to an error message in cast_ref_to_mut lint Add a note to cast_ref_to_mut lint Use ty::Ref instead of ty::TyKind::Ref cast_ref_to_mut lint Add missing ` in default lint Improve tests and exclude nested impls Update `unwrap_get` code review suggestions Update known problems Restrict use_self on nested items Improve `get_unwrap` suggestion ````
2019-01-14Auto merge of #57559 - ehuss:update-cargo, r=alexcrichtonbors-0/+0
Update cargo 13 commits in 34320d212dca8cd27d06ce93c16c6151f46fcf2e..2b4a5f1f0bb6e13759e88ea9512527b0beba154f 2019-01-03 19:12:38 +0000 to 2019-01-12 04:13:12 +0000 - Add test for publish with [patch] + cleanup. (rust-lang/cargo#6544) - Fix clippy warning (rust-lang/cargo#6546) - Revert "Workaround by using yesterday's nightly" (rust-lang/cargo#6540) - Adding feature-flags to `cargo publish` and `cargo package` (rust-lang/cargo#6453) - Fix the Travis CI badge (rust-lang/cargo#6530) - Add helpful text for Windows exceptions like Unix (rust-lang/cargo#6532) - Report fix bugs to Rust instead of Cargo (rust-lang/cargo#6531) - --{example,bin,bench,test} with no argument now lists all available targets (rust-lang/cargo#6505) - Rebuild on mid build file modification (rust-lang/cargo#6484) - Derive Clone for TomlDependency (rust-lang/cargo#6527) - publish: rework the crates.io detection logic. (rust-lang/cargo#6525) - avoid duplicates in ignore files (rust-lang/cargo#6521) - Rustflags in metadata (rust-lang/cargo#6503) r? @alexcrichton
2019-01-14Auto merge of #56954 - hug-dev:armv8m-main-ci, r=alexcrichtonbors-0/+1
Add dist builder for Armv8-M Mainline This commit adds the Armv8-M Mainline target in the list of targets that get their dist components built. It also update the build-manifest so that this target gets also its dist components uploaded. I took example on other pull requests doing the same thing for another target to make the changes. Please feel free to comment if things needs to be added or removed. Doing `./x.py dist --target thumbv8m.main-none-eabi` worked locally so I assume that this will also work on the CI. It will (I think) however need a new release of alexcrichton/cc-rs to include the pull request alexcrichton/cc-rs#363 @alexcrichton I hope to do the HardFloat version (`thumbv8m.main-none-eabihf`) and Baseline (`thumbv8m.base-none-eabi`) later, as fixes need to be done on compiler-builtins first to support those.
2019-01-13Added check for copyright notices.Alexander Regueiro-2/+10
2019-01-13Cosmetic improvementsAlexander Regueiro-114/+122
2019-01-13Use building RLS branch without `make_glob`Igor Matuszewski-0/+0
2019-01-13Update the const fn tracking issue to the new metabugvarkor-6/+5
2019-01-12Update cargoEric Huss-0/+0
2019-01-12Rollup merge of #57510 - nrc:manifest-profiles, r=alexcrichtonMazdak Farrokhzad-1/+24
Add a profiles section to the manifest This supports the profiles work for Rustup in a backwards compatible manner. r? @alexcrichton
2019-01-11Auto merge of #57470 - RalfJung:miri, r=oli-obkbors-14/+14
update miri r? @oli-obk
2019-01-11Add a profiles section to the manifestNick Cameron-1/+24
2019-01-10Integrate miri into build-manifestAlex Crichton-1/+16
This fixes a mistake where miri was accidentally left out of the build-manifest parsing, meaning that today's nightly generated a manifest with invalid urls!
2019-01-09update miriRalf Jung-14/+14
2019-01-09Add dist builder for Armv8-M MainlineHugues de Valon-0/+1
This commit adds the Armv8-M Mainline target in the list of targets that get their dist components built. It also update the build-manifest so that this target gets also its dist components uploaded.
2019-01-08More feature whitelisting of winapiOliver Scherer-0/+3
2019-01-08Adjust cargo workspace hack to miri/cargo interactionsOliver Scherer-1/+4
2019-01-07submodules: update rls from 6f5e4bb to 1a6361bMatthias Krüger-0/+0
Changes: ```` Update Clippy Move TestFailures when collecting failures Update languageserver-types to 0.51.1 update clippy hash and rustc_tools_util and use rustc_tools_util from crates.io Work around https://github.com/rust-lang/rust/pull/55937 Update Clippy... again Update Clippy Update clippy ````
2019-01-07submodules: update clippy from 39bd8449 to c63b6349Matthias Krüger-8/+11
Changes: ```` Revert "tests: used_underscore_binding_macro: disable random_state lint." Revert "Auto merge of #3603 - xfix:random-state-lint, r=phansch" rustup https://github.com/rust-lang/rust/pull/56837 rustup (don't know the exact PR unfortunately) Add itertools to integration tests tests: used_underscore_binding_macro: disable random_state lint. Trigger `use_self` lint in local macros Add run-rustfix where it already passes rustup: https://github.com/rust-lang/rust/pull/55517 Make clippy work with parallel rustc Add ui/for_kv_map test for false positive in #1279 Update to latest compiletest-rs release add testcase for #3462 deps: bump rustc_tools_util version from 0.1.0 to 0.1.1 just in case... Use compiletest's aux-build header instead of include macro rustc_tool_utils: fix failure to create proper non-repo version string when used in crates on crates.io, bump version rustfmt UI test cleanup: Extract ifs_same_cond tests Extract IteratorFalsePositives into option_helpers.rs UI test cleanup: Extract for_kv_map lint tests UI test cleanup: Extract lint from methods.rs test Fix test for rust-lang/rust#57250 Limit infinite_iter collect() check to known types Some improvements to util documentation Use hashset for name blacklist Reformat random_state tests Use node_id_to_type_opt instead of node_it_to_type in random_state Check pattern equality while checking declaration equality random_state lint Move constant write checks to temporary_assignment lint Use an FxHashSet for valid idents in documentation lint Fix suggestion for unnecessary_ref lint Update CONTRIBUTING.md for rustfix tests Update .fixed files via update-references.sh Run rustfix on first UI test Use WIP branch for compiletest_rs ````
2019-01-06slightly optimize compiletest test collectionAndy Russell-34/+27
Save quite a few syscalls and avoiding pushing in a loop.
2019-01-05Rollup merge of #57314 - wiktorkuchta:master, r=Centrilkennytm-1/+1
Fix repeated word typos Inspired by #57295 (I skipped 'be be' because of it) and my [PR in another repo ](https://github.com/e-maxx-eng/e-maxx-eng/pull/389) Not a stupid `sed`, I actually tried to fix case by case.
2019-01-03Update cargoEric Huss-0/+0
2019-01-03Fix repeated word typosWiktor Kuchta-1/+1
Found with `git grep -P '\b([a-z]+)\s+\1\b'`
2018-12-30submodules: update clippy from f7bdf500 to 39bd8449Matthias Krüger-8/+8
Changes: ```` UI test cleanup: Extract iter_skip_next from methods.rs Update test output after rebase Remove false negatives from known problems Implement use_self for tuple structs Document known problems rustup https://github.com/rust-lang/rust/pull/56225/ Remove unnecessary `use` statements after `cargo fix` Apply cargo fix --edition-idioms fixes Use match ergonomics for booleans lint Use match ergonomics for block_in_if_condition lint Use match ergonomics for bit_mask lint Use match ergonomics for attrs lint Use match ergonomics for assign_ops lint Use match ergonomics for artithmetic lint Use match ergonomics for approx_const lint Remove crate:: prefixes from crate paths Support array indexing expressions in unused write to a constant Mark writes to constants as side-effect-less Update README local run command to remove syspath Remove unsafe from consts clippy lints Fix formatting Merge new_without_default_derive into new_without_default Only print out question_mark lint when it actually triggered Add failing test Reinserted commata Recomend `.as_ref()?` in certain situations Deduplicate some code? ````
2018-12-28Update cargo, rls, miriEric Huss-14/+20
2018-12-28Auto merge of #57138 - matthiaskrgr:clippy, r=oli-obkbors-7/+9
submodules: update clippy from fc24fce7 to 721f688e Fixes clippy toolstate. Changes: ```` rustup https://github.com/rust-lang/rust/pull/57069 Rustfmt. fix breakage from rust-lang/rust#57088 fix a couple of ftrivial typos (NFC). update CARGO_CLIPPY_HELP string to suggest tool lints. rustc_tools_util: add readme rustc_tool_utils: expand Cargo.toml with a few keywords in preparation for crates.io release Fix macro detection in `empty_loop`. Changed `macro_backtrace()` to `in_macro()`. Fix lint detection on macro expansion. ```` r? @oli-obk
2018-12-28submodules: update clippy from fc24fce7 to f7bdf500Matthias Krüger-7/+9
Fixes clippy toolstate Changes: ```` Match on ast/hir::ExprKind::Err Update *.stderr files Use -Zui-testing flag Mention S-inactive-closed PRs in the CONTRIBUTING.md tests: fix formatting and update test output base tests: make sure to fail CI if tests need formatting base tests: switch to nightly toolchain before checking formatting of tests with rustfmt rustup https://github.com/rust-lang/rust/pull/57069 Rustfmt. fix breakage from rust-lang/rust#57088 fix a couple of ftrivial typos (NFC). update CARGO_CLIPPY_HELP string to suggest tool lints. rustc_tools_util: add readme rustc_tool_utils: expand Cargo.toml with a few keywords in preparation for crates.io release Fix macro detection in `empty_loop`. Changed `macro_backtrace()` to `in_macro()`. Fix lint detection on macro expansion. ````
2018-12-27Added a job to dry-run the publish_toolstate.py oncekennytm-0/+5
2018-12-26Account for no newline before test annotationsMark Rousskov-3/+6
Previously the license comment would always provide that newline but since that's been removed this change is needed.
2018-12-25Remove licensesMark Rousskov-347/+0
2018-12-25Auto merge of #56962 - nivkner:fixme_fixup4, r=pnkfelixbors-19/+19
address some FIXME whose associated issues were marked as closed part of #44366
2018-12-23submodules: update clippy from a416c5e0 to fc24fce7Matthias Krüger-13/+7
Fixes clippy tool state Changes: ```` FIXME > TODO rustup https://github.com/rust-lang/rust/pull/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 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 #3257 from o01eg/remove-sysroot" ````
2018-12-23Dedent mergebot messageOliver Scherer-2/+2
2018-12-22Auto merge of #57063 - kennytm:rollup, r=kennytmbors-12/+24
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))
2018-12-23Rollup merge of #56945 - JohnHeitmann:rustdoc-js-tester-fix, r=GuillaumeGomezkennytm-2/+14
Fix rustdoc-js tests Fixes rustdoc-js tests by teaching tester.js how to handle single-line js comments. Also, added speculative support for template strings, and warnings for future debuggers.
2018-12-23Rollup merge of #56989 - phansch:fix_compiletest_trim_deprecations, ↵kennytm-10/+10
r=Mark-Simulacrum Fix compiletest `trim` deprecation warnings None
2018-12-22Auto merge of #56680 - vakaras:issue56280, r=nagisabors-10/+16
Use compiletest timestamp to check if the tests should be rerun. An attempt to fix #56280 by checking if timestamps of compile test files are older than the timestamp of the stamp file. ?r nagisa
2018-12-20TidyOliver Scherer-3/+10
2018-12-19FIXME(9639) remove fixme and accept non-utf8 paths in compiletestNiv Kaminer-18/+18
2018-12-19Fix compiletest `trim` deprecation warningsPhilipp Hansch-10/+10
2018-12-19Be more cheerful and helpfulOliver Scherer-13/+28
2018-12-19Only emit issues for build failures to supress spurious failuresOliver Scherer-2/+7
2018-12-19Only open one issue per toolOliver Scherer-4/+12
2018-12-19Rollup merge of #56947 - hsivonen:neon, r=alexcrichtonPietro Albini-1/+6
Add targets thumbv7neon-linux-androideabi and thumbv7neon-unknown-linux-gnueabihf These two targets enable both thumb-mode and NEON for ARMv7 CPUs. This another attempt at #49902, which cannot be reopened. Between that PR and this one, some subrepos with C code whose build systems were failing went away.
2018-12-19FIXME(44217) remove fixme because the allocator logic was removed, but ↵Niv Kaminer-1/+1
platform specific code remains
2018-12-18Automatically tag as nominated for T-compilerOliver Scherer-0/+1
2018-12-18Automatically open an issue when a tool breaksOliver Scherer-3/+39
2018-12-18Fix rustdoc-js testsJohn Heitmann-2/+14
Fixes rustdoc-js tests by teaching tester.js how to handle single-line js comments. Also, added speculative support for template strings, and warnings for future debuggers.
2018-12-17Address the pull request review comments.Vytautas Astrauskas-14/+12
2018-12-17Use compiletest timestamp to check if the tests should be rerun.Vytautas Astrauskas-10/+18