Skip to content

Adjust error checks to match name resolution 2.0#2869

Merged
CohenArthur merged 1 commit into
Rust-GCC:masterfrom
powerboat9:fix-def-err
Feb 27, 2024
Merged

Adjust error checks to match name resolution 2.0#2869
CohenArthur merged 1 commit into
Rust-GCC:masterfrom
powerboat9:fix-def-err

Conversation

@powerboat9

Copy link
Copy Markdown
Collaborator

The error messages produced during name resolution 2.0 are slightly different

gcc/testsuite/ChangeLog:

	* rust/compile/bad_stmt_enums.rs: Adjust redefinition error.
	* rust/compile/bad_toplevel_enums.rs: Likewise.
	* rust/compile/redef_error1.rs: Likewise.
	* rust/compile/redef_error3.rs: Likewise.
	* rust/compile/redef_error4.rs: Likewise.
	* rust/compile/redef_error6.rs: Likewise.

Signed-off-by: Owen Avery <powerboat9.gamer@gmail.com>

@CohenArthur CohenArthur left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

@CohenArthur CohenArthur added this pull request to the merge queue Feb 27, 2024
Merged via the queue into Rust-GCC:master with commit 4ef924f Feb 27, 2024
@powerboat9 powerboat9 deleted the fix-def-err branch February 27, 2024 16:57
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.

2 participants