gccrs
gccrs copied to clipboard
GCC Front-End for Rust
Macbook can't make use of https://github.com/nektos/act so i'm trying this out on PRs, sorry :)
ChangeLog: * .github/workflows/ccpp.yml: Add glibcxx_assertion check
### Summary expected to get E0204 but got E0308 and the actual message is buggy ### Reproducer I tried this code: ```rust #[lang = "sized"] pub trait Sized {} #[lang...
### Summary `AST::IdentifierPattern` should lower to `HIR::PathPattern` only when identifiers resolve to enum variants or structs. However, they always lower to `HIR::IdentifierPattern` which introduces a new binding. See https://doc.rust-lang.org/reference/patterns.html ###...
There was only one function that needed modification, the rest is testing for this new feature :) ``` gcc/rust/ChangeLog: * backend/rust-compile.cc: Modify compute_address_for_trait_item to support supertraits * typecheck/rust-tyty.cc: Remove auto...
Note to reviewers: I do not really get the token stream stuff, I omitted adding a token stream to AST::Fragment, since I wasn't sure how to test the generated token...
There appears to be a bug in the handling of overflows for signed integer types and floating-point types. While unsigned integers are unaffected, assigning the minimum value (`TYPE::MIN`) to signed...
### Code ```rust enum State { Succeeded, Failed, } fn print_on_failure(state: &State) { let mut num = 0; match *state { // error: expected unit struct, unit variant or constant,...