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

Fix rustc and clippy warnings #492

Merged
merged 5 commits into from
May 16, 2024
Merged

Fix rustc and clippy warnings #492

merged 5 commits into from
May 16, 2024

Conversation

DaniPopes
Copy link
Contributor

@DaniPopes DaniPopes commented Apr 30, 2024

Description

Fix rustc and clippy warnings, mostly automated with cargo clippy --fix.

How This Has Been Tested

cargo clippy --all-targets on the latest few LLVM versions.

Checklist

@TheDan64
Copy link
Owner

TheDan64 commented May 8, 2024

Please update the PR and fix broken tests

@@ -339,6 +341,7 @@ impl ContextImpl {
}
}

#[allow(deprecated)]
fn metadata_string<'ctx>(&self, string: &str) -> MetadataValue<'ctx> {
Copy link
Owner

Choose a reason for hiding this comment

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

What are these replaced by?

src/types/int_type.rs Show resolved Hide resolved
Copy link
Owner

@TheDan64 TheDan64 left a comment

Choose a reason for hiding this comment

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

Thanks!

@TheDan64 TheDan64 merged commit 7684346 into TheDan64:master May 16, 2024
16 checks passed
@TheDan64 TheDan64 added this to the 0.5.0 milestone May 16, 2024
@DaniPopes DaniPopes deleted the warnings branch May 16, 2024 07:01
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