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. #269

Merged
merged 2 commits into from Jan 3, 2017
Merged

Fix warnings. #269

merged 2 commits into from Jan 3, 2017

Conversation

@frewsxcv
Copy link
Member

frewsxcv commented Jan 3, 2017

This change is Reviewable

@Ms2ger
Copy link
Contributor

Ms2ger commented Jan 3, 2017

Looks like the import is used, but should be behind #[cfg(feature="serde")].

@SimonSapin
Copy link
Member

SimonSapin commented Jan 3, 2017

Indeed, Travis fails:

error: no method named `description` found for type `parser::ParseError` in the current scope
    --> src/lib.rs:1523:45
     |
1523 |             serde::Error::invalid_value(err.description())
     |                                             ^^^^^^^^^^^
     |
     = help: items from traits can only be used if the trait is in scope; the following trait is implemented but not in scope, perhaps add a `use` for it:
     = help: candidate #1: `use std::error::Error;`
@frewsxcv frewsxcv force-pushed the frewsxcv:warnings branch from 4c8db3b to 562d3e7 Jan 3, 2017
@frewsxcv
Copy link
Member Author

frewsxcv commented Jan 3, 2017

Fixed.

@SimonSapin
Copy link
Member

SimonSapin commented Jan 3, 2017

@bors-servo
Copy link
Contributor

bors-servo commented Jan 3, 2017

📌 Commit 562d3e7 has been approved by SimonSapin

@bors-servo
Copy link
Contributor

bors-servo commented Jan 3, 2017

Test exempted - status

@bors-servo bors-servo merged commit 562d3e7 into servo:master Jan 3, 2017
3 checks passed
3 checks passed
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
homu Test exempted
Details
bors-servo added a commit that referenced this pull request Jan 3, 2017
Fix warnings.

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/rust-url/269)
<!-- Reviewable:end -->
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

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