Skip to content

Add testcase for #2314, fix formatting in macro error#2840

Merged
CohenArthur merged 2 commits into
Rust-GCC:masterfrom
CohenArthur:add-testcase-rustc_const_stable-attr
Feb 13, 2024
Merged

Add testcase for #2314, fix formatting in macro error#2840
CohenArthur merged 2 commits into
Rust-GCC:masterfrom
CohenArthur:add-testcase-rustc_const_stable-attr

Conversation

@CohenArthur

@CohenArthur CohenArthur commented Feb 7, 2024

Copy link
Copy Markdown
Member
  • expand: Fix formatting for "macro not found" error
  • gccrs: Add testcase for #[rustc_const_stable]

gcc/rust/ChangeLog:

	* expand/rust-macro-expand.h (struct MacroExpander): Nitpick: fix
	formatting of emitted error.
To ensure we don't introduce regressions back to issue Rust-GCC#2314

gcc/testsuite/ChangeLog:

	* rust/compile/rustc_const_stable.rs: New test.
@CohenArthur CohenArthur added this pull request to the merge queue Feb 13, 2024
Merged via the queue into Rust-GCC:master with commit 0a0549e Feb 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant