Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upFix nightly warnings related to lifetimes #27
Merged
Conversation
The following warnings appear:
```
src/platform/mod.rs:7:5: 7:56 warning: the trait `core::marker::Sized` is not implemented for the type `Self` [E0277]
src/platform/mod.rs:7 fn create_headless() -> Result<Self, &'static str>;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/platform/mod.rs:7:5: 7:56 help: run `rustc --explain E0277` to see a detailed explanation
src/platform/mod.rs:7:5: 7:56 note: `Self` does not have a constant size known at compile-time
src/platform/mod.rs:7 fn create_headless() -> Result<Self, &'static str>;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/platform/mod.rs:7:5: 7:56 note: this warning results from recent bug fixes and clarifications; it will become a HARD ERROR in the next release. See RFC 1214 for details.
src/platform/mod.rs:7 fn create_headless() -> Result<Self, &'static str>;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/platform/mod.rs:7:5: 7:56 note: required by `core::result::Result`
src/platform/mod.rs:7 fn create_headless() -> Result<Self, &'static str>;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
...because of:
rust-lang/rfcs#1214
emilio
added a commit
that referenced
this pull request
Sep 2, 2015
Fix nightly warnings related to lifetimes
|
Thanks! |
frewsxcv
added a commit
to frewsxcv/servo
that referenced
this pull request
Sep 2, 2015
In order to pick up these changes: * servo/euclid#101 * netvl/xml-rs#102 * mozilla/webdriver-rust#17 * servo/surfman#27
bors-servo
pushed a commit
to servo/servo
that referenced
this pull request
Sep 2, 2015
Upgrade some dependencies to silence warnings In order to pick up these changes: * servo/euclid#101 * netvl/xml-rs#102 * mozilla/webdriver-rust#17 * servo/surfman#27 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7513) <!-- Reviewable:end -->
josiahdaniels
added a commit
to josiahdaniels/servo
that referenced
this pull request
Sep 28, 2015
In order to pick up these changes: * servo/euclid#101 * netvl/xml-rs#102 * mozilla/webdriver-rust#17 * servo/surfman#27
jrmuizel
pushed a commit
to jrmuizel/gecko-cinnabar
that referenced
this pull request
Jun 12, 2017
…rom frewsxcv:bump-no-warnings); r=Ms2ger In order to pick up these changes: * servo/euclid#101 * netvl/xml-rs#102 * mozilla/webdriver-rust#17 * servo/surfman#27 Source-Repo: https://github.com/servo/servo Source-Revision: b7c88dd547c01d99c77c90329cc09f13a90a53b7
gecko-dev-updater
pushed a commit
to marco-c/gecko-dev-comments-removed
that referenced
this pull request
Sep 30, 2019
…rom frewsxcv:bump-no-warnings); r=Ms2ger In order to pick up these changes: * servo/euclid#101 * netvl/xml-rs#102 * mozilla/webdriver-rust#17 * servo/surfman#27 Source-Repo: https://github.com/servo/servo Source-Revision: b7c88dd547c01d99c77c90329cc09f13a90a53b7 UltraBlame original commit: 5cbc0613749c34c6cfb1b95223a695776d5c70f9
gecko-dev-updater
pushed a commit
to marco-c/gecko-dev-wordified
that referenced
this pull request
Oct 1, 2019
…rom frewsxcv:bump-no-warnings); r=Ms2ger In order to pick up these changes: * servo/euclid#101 * netvl/xml-rs#102 * mozilla/webdriver-rust#17 * servo/surfman#27 Source-Repo: https://github.com/servo/servo Source-Revision: b7c88dd547c01d99c77c90329cc09f13a90a53b7 UltraBlame original commit: 5cbc0613749c34c6cfb1b95223a695776d5c70f9
gecko-dev-updater
pushed a commit
to marco-c/gecko-dev-wordified-and-comments-removed
that referenced
this pull request
Oct 1, 2019
…rom frewsxcv:bump-no-warnings); r=Ms2ger In order to pick up these changes: * servo/euclid#101 * netvl/xml-rs#102 * mozilla/webdriver-rust#17 * servo/surfman#27 Source-Repo: https://github.com/servo/servo Source-Revision: b7c88dd547c01d99c77c90329cc09f13a90a53b7 UltraBlame original commit: 5cbc0613749c34c6cfb1b95223a695776d5c70f9
asajeffrey
pushed a commit
to asajeffrey/surfman
that referenced
this pull request
Oct 31, 2019
Add more builds to travis
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
frewsxcv commentedSep 2, 2015
The following warnings appear:
...because of:
rust-lang/rfcs#1214