about summary refs log tree commit diff
path: root/src/test/run-pass/thinlto
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-04-26 09:54:11 +0000
committerbors <bors@rust-lang.org>2017-04-26 09:54:11 +0000
commitb0a4074c5e87d24ff630f6aa456a64698bff3ed2 (patch)
treec5d93f160323d8115205a38d6f4eebed323e8793 /src/test/run-pass/thinlto
parentdad9814eb0964a92494fef9ce23b80353dc14c46 (diff)
parentdecf7598ef3a245ddaed9272091b3afc3466617f (diff)
downloadrust-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