From: Arthur Cohen
gcc/rust/ChangeLog:
* expand/rust-macro-expand.h (struct MacroExpander): Nitpick: fix
formatting of emitted error.
---
gcc/rust/expand/rust-macro-expand.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/gcc/rust/expand/rust-macro-expa
From: Owen Avery
gcc/rust/ChangeLog:
* resolve/rust-ast-resolve-item.cc
(flatten_glob): Use Import class.
(flatten_rebind): Likewise.
(flatten_list): Likewise.
(flatten): Likewise.
(flatten_use_dec_to_paths): Likewise.
(flatten_use_dec_to_i
From: Marc Poulhiès
gcc/rust/ChangeLog:
* backend/rust-builtins.cc
(BuiltinsContext::register_rust_mappings): Add powi and reformat.
* backend/rust-builtins.h: Add missing copyright header.
gcc/testsuite/ChangeLog:
* rust/compile/torture/intrinsics-math.rs: Adju
From: Owen Avery
gcc/rust/ChangeLog:
* backend/rust-compile-pattern.cc
(CompilePatternLet::visit):
Lookup type of sub-pattern, not tuple pattern itself.
gcc/testsuite/ChangeLog:
* rust/compile/issue-2847-b.rs: New test.
Signed-off-by: Owen Avery
---
gcc/rust/
Hey everyone,
Here is the latest patchset of the Rust frontend, taken directly from our
development branch.
The patches have been built, tested and bootstrapped on x86-64.
[COMMITTED 1/9] gccrs: Fix typo in RegionConstraints instance
[COMMITTED 2/9] gccrs: Add testcase for matches!() macro
[COM
From: Sahil Yeole
Signed-off-by: Sahil Yeole
---
gcc/rust/ast/rust-ast-builder.cc | 2 +-
gcc/rust/ast/rust-ast-builder.h | 2 +-
gcc/rust/ast/rust-ast-collector.cc| 2 +-
gcc/rust/ast/rust-ast-collector.h
From: 0xn4utilus
gcc/rust/ChangeLog:
* checks/errors/rust-ast-validation.cc (ASTValidation::visit):
Add variadic check on all parameters.
gcc/testsuite/ChangeLog:
* rust/compile/issue-2850.rs: New test.
Signed-off-by: 0xn4utilus
---
gcc/rust/checks/errors/rust-ast-va
From: Arthur Cohen
To ensure we don't introduce regressions back to issue #2314
gcc/testsuite/ChangeLog:
* rust/compile/rustc_const_stable.rs: New test.
---
gcc/testsuite/rust/compile/rustc_const_stable.rs | 2 ++
1 file changed, 2 insertions(+)
create mode 100644 gcc/testsuite/rust/c
From: Arthur Cohen
This adds a testcase for issue #2129.
gcc/testsuite/ChangeLog:
* rust/execute/torture/matches_macro.rs: New test.
---
.../rust/execute/torture/matches_macro.rs | 30 +++
1 file changed, 30 insertions(+)
create mode 100644 gcc/testsuite/rust/execu
From: Arthur Cohen
gcc/rust/ChangeLog:
* typecheck/rust-hir-type-check-implitem.h: Fix typo in field
(region_costraints -> region_constraints).
---
gcc/rust/typecheck/rust-hir-type-check-implitem.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/rust/type
10 matches
Mail list logo