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

auto-reduced (treereduce-rust): ````rust //@compile-flags: -frust-incomplete-and-experimental-compiler-do-not-use macro_rules! make { ($n:expr) => { pub struct S; pub const CST: i32 = ($n * $n); pub static ST: i32 = ($n * $n);...

bug

For a future project, it would be nice to convert the parser to run on `DelimTokenTree`, rather than a stream of tokens. It would make parsing simpler and help catch...

#3762 is not correct and needs to be completed ```rust struct Foo { field1: T, field2: U, } ```

Nice work but i just realised yes this need another change sorry. This null_tree check should still stay but you need another check the error should be: ``` error[E0658]: `loop`...

This solution resolves issue #3395 by refactoring the code to use implicit_insert_type instead of insert_type, improving clarity and eliminating the insert_type method from the context object. Changed files: * typecheck/rust-typecheck-context.cc...

cleanup
typechecking
merge conflicts

I added a check to see if the attr_input_type was a TOKEN_TREE and added an error message if a LITERAL is passed to it. Fixes #3658 gcc/rust/ChangeLog: * backend/rust-compile-base.cc (HIRCompileBase::handle_inline_attribute_on_fndecl):...

While the feature is still experimental, it will be necessary for const generics and parsing the standard library down the line: ```rust pub trait Sub { type Output; fn sub(self,...

enhancement

auto-reduced (treereduce-rust): ````rust //@compile-flags: -frust-incomplete-and-experimental-compiler-do-not-use struct A { x: C, y: A, } #[repr(C)] struct C { x: i32, } extern "C" { fn foo(x: A); } ```` original: ````rust...

bug

ICE in `rust/resolve/rust-late-name-resolver-2.0.cc:303`, code hitting an assert about opening scope resolution. - [ ] `canonical_paths1.rs` - [x] `derive-hash1.rs` - [x] `derive-debug1.rs` - [ ] `derive-eq-invalid.rs` - [ ] `derive-default1.rs` -...

name resolution

List of test failing with NR2 is getting shorter, this issue track remaining identified issues. Issues below have a lot of common failing test, some test might fail because of...