about summary refs log tree commit diff
path: root/src/rustllvm/ArchiveWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-09-23 07:30:03 +0000
committerbors <bors@rust-lang.org>2017-09-23 07:30:03 +0000
commita6a7dac5cf929b04deac235e511073b2e9640433 (patch)
tree9bec4b77e2be7cf7fd3b5f1c4e42f47a6705c259 /src/rustllvm/ArchiveWrapper.cpp
parent85a5d3ffa42068e9ccffde004a466871fd6f2e44 (diff)
parent419069d984e3f4cf33768003fa5eaccae51fec10 (diff)
downloadrust-a6a7dac5cf929b04deac235e511073b2e9640433.tar.gz
rust-a6a7dac5cf929b04deac235e511073b2e9640433.zip
Auto merge of #44633 - petrochenkov:priv2, r=nikomatsakis
Record semantic types for all syntactic types in bodies

... and use recorded types in type privacy checking (types are recorded after inference, so there are no `_`s left).
Also use `hir_ty_to_ty` for types in signatures in type privacy checking.

This could also be potentially useful for save-analysis and diagnostics.

Fixes https://github.com/rust-lang/rust/pull/42125#issuecomment-305987755
r? @eddyb
Diffstat (limited to 'src/rustllvm/ArchiveWrapper.cpp')
0 files changed, 0 insertions, 0 deletions