diff options
| author | bors <bors@rust-lang.org> | 2020-06-26 06:11:01 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-06-26 06:11:01 +0000 |
| commit | 14e65d5e95da0f7e4f9127cf1598fa46f33972e8 (patch) | |
| tree | 4cf43c711b6c5791395483bf3de52ee6dfdcd6d9 /library/std/src/sys/windows/stack_overflow.rs | |
| parent | e093b6525079cb71d4158f97480ac6f6ce311eac (diff) | |
| parent | 0cf4b9de68701ad82130388f5626d5572f2fe8c2 (diff) | |
| download | rust-14e65d5e95da0f7e4f9127cf1598fa46f33972e8.tar.gz rust-14e65d5e95da0f7e4f9127cf1598fa46f33972e8.zip | |
Auto merge of #73743 - eddyb:lint-on-demand-typeck-tables, r=Manishearth
rustc_lint: only query `typeck_tables_of` when a lint needs it. This was prompted by @jyn514 running into a situation where `rustdoc` wants to run the `unused_doc` lint without triggering type-checking (as an alternative to the "everybody loops" approach - type-checking may error/ICE because of the `rustdoc` feature of allowing multi-platform docs where the actual bodies of functions may refer to APIs for different platforms). There was also this comment in the source: ```rust // FIXME: Make this lazy to avoid running the TypeckTables query? ``` The main effect of this is for lint authors, who now need to use `cx.tables()` to get `&TypeckTables`, as opposed to having them always available in `cx.tables`. r? @oli-obk or @Manishearth
Diffstat (limited to 'library/std/src/sys/windows/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
