Vadim Petrochenkov
|
3f20f4ac42
|
effective visibility: Satisfy borrow checker to use resolver lazily from a closure
|
2022-11-24 00:03:51 +03:00 |
|
cui fliter
|
442f848d74
|
fix some typos in comments
Signed-off-by: cui fliter <imcusg@gmail.com>
|
2022-11-13 15:26:17 +08:00 |
|
Vadim Petrochenkov
|
43bea6cf69
|
resolve: Fill effective visibilities for import def ids in a separate pass
This should result in less update calls than doing it repeatedly during the fix point iteration.
|
2022-11-05 17:55:20 +04:00 |
|
Vadim Petrochenkov
|
24093fc6bd
|
resolve: More detailed effective visibility tracking for imports
Also drop `extern` blocks from the effective visibility table, they are nominally private and it doesn't make sense to keep them there.
|
2022-11-05 15:46:22 +04:00 |
|
Vadim Petrochenkov
|
84317518ff
|
resolve: Turn the binding from #[macro_export] into a proper Import
|
2022-10-31 21:25:00 +04:00 |
|
Vadim Petrochenkov
|
637bfe68a1
|
resolve: Not all imports have their own NodeId
|
2022-10-31 20:25:27 +04:00 |
|
Vadim Petrochenkov
|
34eb73c72d
|
privacy: Rename "accessibility levels" to "effective visibilities"
And a couple of other naming tweaks
Related to https://github.com/rust-lang/rust/issues/48054
|
2022-10-26 16:34:53 +04:00 |
|