Skip to content

Fix or suppress {primitive}::new warnings in tests #1469

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

Merged
merged 1 commit into from
Apr 17, 2019

Conversation

RReverser
Copy link
Member

Constructing boxed primitives was deprecated in #1447.

Some tests have been still using these methods, so this PR either updates them to use newly added {primitive}::from implementations or adds #[allow(deprecated)] where necessary.

r? @alexcrichton

Constructing boxed primitives was deprecated in rustwasm#1447.

Some tests have been still using these methods, so this PR either updates them to use newly added {primitive}::from implementations or adds `#[allow(deprecated)]` where necessary.
@alexcrichton alexcrichton merged commit 68e6b4f into rustwasm:master Apr 17, 2019
@alexcrichton
Copy link
Contributor

Thanks!

@RReverser RReverser deleted the fix-primitive-new-tests branch April 17, 2019 18:44
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