rust/src/tools
bors 11ebe6512b Auto merge of #103217 - mejrs:track, r=eholk
Track where diagnostics were created.

This implements the `-Ztrack-diagnostics` flag, which uses `#[track_caller]` to track where diagnostics are created. It is meant as a debugging tool much like `-Ztreat-err-as-bug`.

For example, the following code...

```rust
struct A;
struct B;

fn main(){
    let _: A = B;
}
```
...now emits the following error message:

```
error[E0308]: mismatched types
 --> src\main.rs:5:16
  |
5 |     let _: A = B;
  |            -   ^ expected struct `A`, found struct `B`
  |            |
  |            expected due to this
-Ztrack-diagnostics: created at compiler\rustc_infer\src\infer\error_reporting\mod.rs:2275:31
```
2022-11-01 21:09:45 +00:00
..
build-manifest Give better errors when build-manifest fails 2022-10-01 15:38:27 -05:00
bump-stage0 Upgrade indexmap and thorin-dwp to use hashbrown 0.12 2022-07-17 07:05:58 -07:00
cargo@7e484fc1a7 Update cargo 2022-10-28 01:18:50 +08:00
cargotest Override linker in cargotest on windows 2022-10-23 19:33:03 -05:00
clippy Auto merge of #103217 - mejrs:track, r=eholk 2022-11-01 21:09:45 +00:00
compiletest Rollup merge of #102634 - andrewpollack:refactor-test-rustcflags, r=Mark-Simulacrum 2022-10-29 14:18:01 +02:00
error_index_generator Fix tooltip display for error codes 2022-09-18 00:32:28 +02:00
expand-yaml-anchors
html-checker parallelize HTML checking tool 2022-07-29 23:26:38 -04:00
jsondocck Remove need to give JSON file path 2022-08-18 10:48:06 +02:00
jsondoclint Rustdoc-Json: List impls for primitives 2022-09-26 18:06:48 +01:00
linkchecker Ignore mailto links in linkchecker 2022-08-29 14:42:06 +02:00
lint-docs Add let_underscore lint group to GROUP_DESCRIPTIONS. 2022-06-04 20:12:26 -04:00
lld-wrapper fix lld-wrapper lld flavor detection 2022-09-07 14:51:54 +02:00
miri Auto merge of #102950 - oli-obk:check_miri, r=RalfJung 2022-10-31 23:03:39 +00:00
remote-test-client tools/remote-test-{server,client}: Use /data/local/tmp on Android 2022-10-06 13:42:32 -07:00
remote-test-server Show command line arguments 2022-10-12 14:30:06 +02:00
replace-version-placeholder Also replace the version placeholder in rustc_attr 2022-09-02 01:47:01 +02:00
rls Sunset RLS 2022-08-27 21:36:08 -07:00
rust-analyzer ⬆️ rust-analyzer 2022-11-01 11:31:31 +02:00
rust-demangler
rust-installer@300b5ec61e Update submodule rust-installer 2022-07-09 09:49:05 -07:00
rustbook Update mdbook 2022-07-22 11:59:20 -07:00
rustc-workspace-hack update few crates to drop old deps 2022-08-31 23:35:57 +03:00
rustdoc rustdoc: Use unix_sigpipe instead of rustc_driver::set_sigpipe_handler 2022-10-24 20:40:46 +02:00
rustdoc-gui Improve error message when browser-ui-test crashes 2022-08-11 13:20:18 +02:00
rustdoc-js rustdoc: make search.js a module 2022-05-17 09:26:18 -07:00
rustdoc-themes
rustfmt Implement -Ztrack-diagnostics 2022-10-19 00:08:20 +02:00
tidy Update list of allowed cranelift dependencies 2022-10-23 16:43:29 +02:00
tier-check
unicode-table-generator Address feedback from PR #101401 2022-09-04 08:07:53 -07:00
unstable-book-gen unstable-book-gen: use std::fs::write 2022-08-28 00:40:58 +02:00
x fix: better error when python not found in x 2022-08-01 13:33:59 +01:00
cherry-pick.sh
publish_toolstate.py Remove miri from the submodule list and require it for CI to pass 2022-09-21 15:35:53 +00:00