]> git.lizzy.rs Git - rust.git/commit
Auto merge of #38490 - jseyfried:def_id_vis, r=nrc
authorbors <bors@rust-lang.org>
Sun, 25 Dec 2016 21:32:37 +0000 (21:32 +0000)
committerbors <bors@rust-lang.org>
Sun, 25 Dec 2016 21:32:37 +0000 (21:32 +0000)
commit44ad63e4878fc913924f32248b6234d10d208d78
treef1f327e5a7c3c4611cb238e55bb518c968da0c33
parent20b6c160cac48d046e4fb21c70c31ce9339799fb
parent41f1e189ee2b078838fcd2f7550d14e9f1fd5e45
Auto merge of #38490 - jseyfried:def_id_vis, r=nrc

Use `DefId`s instead of `NodeId`s for `pub(restricted)` visibilities

This is groundwork for hygiene 2.0, specifically privacy checking hygienic intercrate name resolutions.
r? @nrc
src/librustc_resolve/lib.rs
src/librustc_resolve/resolve_imports.rs