about summary refs log tree commit diff
path: root/src/test/ui/resolve/visibility-indeterminate.rs
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-7/+0
2019-09-15resolve: Remove `!` from "cannot find" diagnostics for macrosVadim Petrochenkov-1/+1
2019-09-14Provide a span if main function is not present in crateMark Rousskov-0/+2
Unfortunately, the diagnotic machinery does not cope well with an empty span which can happen if the crate is empty, in which case we merely set a spanless note.
2019-08-10resolve: Move late resolution into a separate visitorVadim Petrochenkov-0/+5
Move `Resolver` fields specific to late resolution to the new visitor. The `current_module` field from `Resolver` is replaced with two `current_module`s in `LateResolutionVisitor` and `BuildReducedGraphVisitor`. Outside of those visitors `current_module` is replaced by passing `parent_scope` to more functions and using the parent module from it. Visibility resolution no longer have access to later resolution methods and has to use early resolution, so its diagnostics in case of errors regress slightly.