Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[E0015] Use of non-const inside const #2538

Merged
merged 1 commit into from
Aug 9, 2023

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 <mahadtxt@gmail.com>
@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
9 checks passed
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