diff options
author | Arthur Cohen <arthur.cohen@embecosm.com> | 2022-04-28 10:59:53 +0200 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2022-04-29 09:29:30 +0200 |
commit | c0589ea7dbe6c36cfb334220d4ea3905c0673d9f (patch) | |
tree | 129e835a56f76324b6c465e9b7a30936d36c2958 /gcc/rust/backend/rust-tree.h | |
parent | 83e13db1fa12d3ff8751a293595cbf01fd1ac236 (diff) | |
download | gcc-c0589ea7dbe6c36cfb334220d4ea3905c0673d9f.zip gcc-c0589ea7dbe6c36cfb334220d4ea3905c0673d9f.tar.gz gcc-c0589ea7dbe6c36cfb334220d4ea3905c0673d9f.tar.bz2 |
ast: Resolver: Flatten use declarations to paths
In order to resolve `SimplePath`s, we have to expand all paths present
in a `UseDeclaration` and resolve them. For example, we want to resolve
two paths with the following statement `use foo::bar::{baz, bul}`:
`foo::bar::baz` and `foo::bar::bul`.
This also removes the prelude inclusion (`use std::prelude::v1::*`)
since we cannot resolve it (yet!)
Diffstat (limited to 'gcc/rust/backend/rust-tree.h')
0 files changed, 0 insertions, 0 deletions