diff options
| author | bors <bors@rust-lang.org> | 2017-04-26 09:54:11 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2017-04-26 09:54:11 +0000 |
| commit | b0a4074c5e87d24ff630f6aa456a64698bff3ed2 (patch) | |
| tree | c5d93f160323d8115205a38d6f4eebed323e8793 /src/test/run-pass/thinlto | |
| parent | dad9814eb0964a92494fef9ce23b80353dc14c46 (diff) | |
| parent | decf7598ef3a245ddaed9272091b3afc3466617f (diff) | |
| download | rust-b0a4074c5e87d24ff630f6aa456a64698bff3ed2.tar.gz rust-b0a4074c5e87d24ff630f6aa456a64698bff3ed2.zip | |
Auto merge of #41504 - eddyb:query-api, r=nikomatsakis
Improve the librustc on-demand/query API ergonomics. Queries are now performed through these two forms: * `tcx.type_of(def_id)` (the most common usage) * `tcx.at(span).type_of(def_id)` (to provide a more specific location in the cycle stack) Several queries were renamed to work better as method names, i.e. by suffixing with `_of`. r? @nikomatsakis
Diffstat (limited to 'src/test/run-pass/thinlto')
0 files changed, 0 insertions, 0 deletions
