diff options
author | Arthur Cohen <arthur.cohen@embecosm.com> | 2022-04-29 13:48:34 +0200 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2022-05-05 14:07:36 +0200 |
commit | 88c20f5e1d59b691b8e8cfbd550206a39bf9727b (patch) | |
tree | 49ebe0980c3753cdba5edb8daa344ac11804820f /gcc/rust/backend/rust-constexpr.h | |
parent | 52b5286a69d86a36e279bc636cc41cbdd6795dee (diff) | |
download | gcc-88c20f5e1d59b691b8e8cfbd550206a39bf9727b.zip gcc-88c20f5e1d59b691b8e8cfbd550206a39bf9727b.tar.gz gcc-88c20f5e1d59b691b8e8cfbd550206a39bf9727b.tar.bz2 |
privacy: Add base for resolving SimplePaths to Modules
This also fixes the missing kind in HIR::Visibility.
Having both `pub` and `pub restricted` as a single variant in the
HIR::Visibility::Kind enum was a mistake, as it cause the path resolver to
be triggered for `pub` visibilities which do not refer to any paths.
Finally, erroneous calls to Visibility::create_error() are removed.
This caused a lot of ICEs now that the Visibility lowering logic is
fixed
Diffstat (limited to 'gcc/rust/backend/rust-constexpr.h')
0 files changed, 0 insertions, 0 deletions