rust/src/tools
Matthias Krüger 620b0c5122
Rollup merge of #93953 - jackh726:known_bug, r=Mark-Simulacrum
Add the `known-bug` test directive, use it, and do some cleanup

cc rust-lang/compiler-team#476

Now tests can be annotated with `known-bug`, which should indicate that the test *should* pass (or at least that the current output is a bug). Adding it relaxes the requirement to add error annotations to the test (though it is still allowed). In the future, this could be extended with further relaxations - with the goal to make adding these tests need minimal effort.

I've used this attribute for the GAT tests added in #93757.

Finally, I've also cleaned up `header.rs` in compiletest a bit, by extracting out a bit of common logic. I've also split out some of the directives into their own consts. This removes a lot of very similar functions from `Config` and makes `TestProps::load_from` read nicer.

I've split these into separate commits, so I in theory could split these into separate PRs if they're controversial, but I think they're pretty straightforward.

r? ``@Mark-Simulacrum``
2022-02-18 23:23:11 +01:00
..
build-manifest Update sha1, sha2, and md5 dependencies 2022-02-13 15:29:01 -06:00
bump-stage0 remove "field is never read" warning 2021-10-23 21:55:57 -04:00
cargo@ea2a21c994 Update cargo 2022-02-15 20:31:20 -08:00
cargotest Migrate to 2021 2021-09-20 22:21:42 -04:00
clippy Auto merge of #94088 - oli-obk:revert, r=jackh726 2022-02-18 07:35:37 +00:00
compiletest Rollup merge of #93953 - jackh726:known_bug, r=Mark-Simulacrum 2022-02-18 23:23:11 +01:00
error_index_generator Rollup merge of #89506 - yaymukund:docblock-headings, r=GuillaumeGomez 2021-10-06 12:33:20 -07:00
expand-yaml-anchors Migrate to 2021 2021-09-20 22:21:42 -04:00
html-checker Support early stopping too old pre-installed tidy command for macOS in the HTML checker 2021-11-07 10:25:04 +09:00
jsondocck jsondocck: Improved error messages for invalid json value and failed @count check 2022-02-09 16:10:58 +00:00
linkchecker linkchecker: fix panic on directory symlinks 2022-02-11 10:45:59 +01:00
lint-docs Adjust documentation for compatibility with 2021 2021-09-20 22:21:43 -04:00
lld-wrapper Add wrapper for -Z gcc-ld=lld to invoke rust-lld with the correct flavor 2021-10-07 16:59:13 +02:00
miri@0db4090376 update miri 2022-02-12 12:46:02 +01:00
remote-test-client Migrate to 2021 2021-09-20 22:21:42 -04:00
remote-test-server Migrate to 2021 2021-09-20 22:21:42 -04:00
rls@3df74381f3 Update rls 2022-02-10 07:47:01 -08:00
rust-analyzer@02904e99ac ⬆️ rust-analyzer 2022-02-16 17:23:51 +02:00
rust-demangler mangling_v0: Update tests for the rust-demangler tool 2022-01-08 11:39:34 +08:00
rust-installer@5254dbfd25 bump rust-installer submodule 2020-12-28 12:48:11 +01:00
rustbook Update mdbook 2021-12-03 12:25:07 -08:00
rustc-workspace-hack Update winapi shared features. 2021-10-12 07:14:32 -07:00
rustdoc Migrate to 2021 2021-09-20 22:21:42 -04:00
rustdoc-gui Improve code for rustdoc-gui tester 2021-12-06 10:40:38 +01:00
rustdoc-js Update tester to have FILTER_CRATE set to null if undefined. 2022-02-03 22:59:33 +01:00
rustdoc-themes Migrate to 2021 2021-09-20 22:21:42 -04:00
rustfmt rustc_errors: only box the diagnostic field in DiagnosticBuilder. 2022-01-24 11:23:14 +00:00
tidy Rollup merge of #93915 - Urgau:rfc-3013, r=petrochenkov 2022-02-18 23:23:10 +01:00
tier-check Migrate to 2021 2021-09-20 22:21:42 -04:00
unicode-table-generator Let unicode-table-generator fail gracefully for bitsets 2021-10-06 17:35:49 -07:00
unstable-book-gen Migrate to 2021 2021-09-20 22:21:42 -04:00
x Migrate to 2021 2021-09-20 22:21:42 -04:00
cherry-pick.sh Add cherry-pick.sh convenience script. 2021-08-20 11:58:18 +01:00
publish_toolstate.py Disable validate_maintainers. 2021-09-15 09:25:06 -07:00