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 warnings and increase MSRV for 2.0 #510

Merged
merged 4 commits into from Jul 15, 2019

Conversation

@est31
Copy link
Contributor

est31 commented Jul 13, 2019

This includes some warning fixes as well as a MSRV increase from 1.17.0 to 1.24.0 (which is the oldest release the replacements for the deprecated functionalities are available). The first commit should be least controversial as it doesn't require any MSRV increase. Please say whether MSRV increases are a problem, if they are I can put the first commit into a separate PR.

Fixes #455


This change is Reviewable

est31 added 4 commits Jul 13, 2019
It is deprecated since 1.26.0 if the inherent
methods, that are stable since 1.23.0,
want to be relied on.
This requires at least rustc 1.24.0 as only then the function
became stably const-fn.
The 1.24.0 release has been over a year ago
and is needed by the prior commits.
@@ -11,8 +11,7 @@ jobs:

- cargo update -p unicode-normalization --precise 0.1.5

# data-url uses pub(crate) which is unstable in 1.17
script: cargo test --all-features -p url -p idna -p percent-encoding -p url_serde
script: cargo test --all-features -p url -p idna -p percent-encoding -p url_serde -p data-url

This comment has been minimized.

@SimonSapin

SimonSapin Jul 15, 2019

Member

I think -p arguments can be replaced with --all?

@SimonSapin SimonSapin merged commit bc09a23 into servo:2.0 Jul 15, 2019
2 checks passed
2 checks passed
Travis CI - Pull Request Build Passed
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
@bors-servo
Copy link
Contributor

bors-servo commented Jul 15, 2019

The latest upstream changes (presumably c0bc5e5) made this pull request unmergeable. Please resolve the merge conflicts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.