diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-08-19 09:18:09 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-19 09:18:09 +0000 |
commit | 387f73626ae0e04c3f81d71d4de6780a4caad052 (patch) | |
tree | e7a77ab117beb5a9e565977e10405c07ce47f63b /gcc/rust/backend/rust-compile-resolve-path.cc | |
parent | 24838285ad98f9a91ea73ed50652de2b1c0e7e61 (diff) | |
parent | b34ea0af5e92fd34a4eb21edb39a8715b47e84f8 (diff) | |
parent | 6109a6b4b1ca6453b42a3b99f1998e0eb5674741 (diff) | |
download | gcc-387f73626ae0e04c3f81d71d4de6780a4caad052.zip gcc-387f73626ae0e04c3f81d71d4de6780a4caad052.tar.gz gcc-387f73626ae0e04c3f81d71d4de6780a4caad052.tar.bz2 |
Merge #509 #636
509: Initial support for module r=philberty a=dkm
Adds name resolution, HIR lowering and type checking. For modules
which should allow for initial multiple file parsing support.
Fixes #432
636: Suppress uninitialized candidate_type warning in process_traits_for_candidates r=philberty a=dkm
From Mark Wielaard : https://gcc.gnu.org/pipermail/gcc-rust/2021-August/000142.html
> Without handling the default case in the switch statement gcc 10.2.1 will warn:
>
> rust-hir-path-probe.h:75:40: warning: ‘candidate_type’ may be used uninitialized
> in this function [-Wmaybe-uninitialized]
Co-authored-by: Mark Wielaard <mark@klomp.org>
Co-authored-by: Marc Poulhiès <dkm@kataplop.net>