Skip to content

Conversation

MahadMuhammad
Copy link
Contributor

Use of non-const inside const - E0015

Code tested:


gcc/rust/ChangeLog:

* checks/errors/rust-const-checker.cc (ConstChecker::check_function_call): Added errorcode.

gcc/rust/ChangeLog:

	* checks/errors/rust-const-checker.cc (ConstChecker::check_function_call):
	Added errorcode.

Signed-off-by: Muhammad Mahad <[email protected]>
@P-E-P P-E-P added enhancement diagnostic diagnostic static analysis labels Aug 8, 2023
@philberty philberty added this pull request to the merge queue Aug 9, 2023
@philberty philberty added this to the GCC 14 Stage 3 milestone Aug 9, 2023
Merged via the queue into Rust-GCC:master with commit 87172a8 Aug 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
diagnostic diagnostic static analysis enhancement
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants