rust/compiler/rustc_query_system/src
Yuki Okushi ade123275d
Rollup merge of #96697 - oli-obk:trace_queries, r=michaelwoerister
Enable tracing for all queries

This allows you to log everything within a specific query, e.g.

```
env RUSTC_LOG=[mir_borrowck]
```

dumping all borrowck queries may be a bit verbose, so you can also restrict it to just an item of your choice:

```
env RUSTC_LOG=[mir_borrowck{key=\.\*name_of_item\.\*}]
```

the regex `.*` in the key name are because the key is a debug printed DefId, so you'd get all kinds of things like hashes in there. The tracing logs will show you the key, so you can restrict it further if you want.
2022-05-05 10:20:38 +09:00
..
dep_graph Spellchecking compiler comments 2022-03-30 15:14:15 -04:00
ich Remove NodeIdHashingMode. 2022-04-12 19:59:32 +02:00
query Enable tracing for all queryies 2022-05-04 16:15:26 +00:00
cache.rs Remove (lots of) dead code 2021-03-27 22:16:33 -04:00
lib.rs Stabilize bool::then_some 2022-05-04 13:22:08 +02:00