gccrs icon indicating copy to clipboard operation
gccrs copied to clipboard

GCC Front-End for Rust

Results 608 gccrs issues
Sort by recently updated
recently updated
newest added

This prioritizes resolution in the language prelude over resolution as a module.

- **ast: reconstruct: Add base for reconstructing and asserting different IDs** - **ast: Add reconstruct_type() method** - **ast: builder: Remove ASTTypeBuilder** This is the first step of adding the `reconstruct_*()`...

Add a seperate typecheck pass collect impl blocks, then report errors. Signed-off-by: Zhang He ChangLog: * gcc/rust/typecheck/rust-hir-inherent-impl-check.h: new typecheck pass * gcc/rust/typecheck/rust-hir-type-check.cc: modify the function which test primitive type *...

diagnostic

im a bit rather new to this area... this fixes #3354 gcc/rust/ChangeLog: * typecheck/rust-tyty.cc (VariantDef::clone): reformat * (VariantDef::monomorphized_clone): reformat * (FnPtr::setup_fn_once_output): Fix fnptr not auto implement fn once * typecheck/rust-tyty.h:...

Fixes #3351 Overriding on the compile item visitor, I am not sure if this is the right way to go?

bug
diagnostic

Fixes #3571 Fixes #3482 - [x] `privacy5.rs` - [x] `privacy8.rs` - [ ] `pub_restricted_1.rs` - [x] `pub_restricted_2.rs` - [x] `pub_restricted_3.rs` - [ ] `issue-2905-2.rs`

gcc/rust/ChangeLog: * ast/rust-ast-visitor.cc (DefaultASTVisitor::visit): Check that the WhileLet has a label before visiting it. gcc/testsuite/ChangeLog: * rust/compile/while_let_without_label.rs: New test.

resolve_path returns an optional however we miss some context: which segment cannot be resolved. otpional -> expected

addresses https://github.com/Rust-GCC/gccrs/issues/3635 ``` gcc/rust/ChangeLog: * resolve/rust-ast-resolve-item.cc (ResolveItem::visit): add name resolution processing for discriminant values * resolve/rust-ast-resolve-stmt.h: add name resolution processing for discriminant values gcc/testsuite/ChangeLog: * rust/compile/nr2/exclude: Exclude enum_discriminant2.rs due to...

merge conflicts