gccrs icon indicating copy to clipboard operation
gccrs copied to clipboard

GCC Front-End for Rust

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

I tried this code: ```rust #[lang = "copy"] trait Copy {} #[lang = "clone"] trait Clone { fn clone(&self) -> Self; } #[derive(Copy, Clone)] struct Empty; ``` I expected to...

bug
expansion

This is causing noise for users since I can't write shell properly. Bugzilla report here: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115453 (with a proposed patch, waiting for an answer from Sam)

upstream
misc

I tried this code: ```rust #[lang = "sized"] trait Sized {} enum Result { Ok(T), Err(E), } pub struct Layout { // size of the requested block of memory, measured...

bug
good-first-pr
name resolution

I tried this code: ```rust enum Res { OK, BAD, } enum LOption { Some(i32), None, } fn test(v: LOption) -> Res { return Res::BAD; } fn main() -> i32...

bug
typechecking

This should allow us to more easily test and record progress on name resolution 2.0

`#[may_dangle]` attributes should not be used from safe impl. https://godbolt.org/z/6eKe5sKdo

good-first-pr

Added `location` field to BIR::Statement and BIR::Place, updated the BIR builders to take the source location from HIR and pass it to BIR node.

borrow checking