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 deprecation warnings for `try!` and dyn traits #480

Merged
merged 1 commit into from Oct 11, 2019

Conversation

@r-52
Copy link
Contributor

r-52 commented Oct 5, 2019

this commit fixes some deprecation warnings that are caused by the old try!. Every part is replaced with the ? operator. At one part the compiler mentioned the deprecation:

trait objects without an explicit `dyn` are deprecated

which is also replaced.


This change is Reviewable

this commit fixes some deprecation warnings that are caused by the old
`try!`. Every part is replaced with the `?` operator.
At one part the compiler mentioned the deprecation:
`trait objects without an explicit `dyn` are deprecated` which is also
replaced.
@jdm
Copy link
Member

jdm commented Oct 7, 2019

@bors-servo
Copy link
Contributor

bors-servo commented Oct 7, 2019

📌 Commit ce70b6f has been approved by jdm

@bors-servo
Copy link
Contributor

bors-servo commented Oct 7, 2019

Testing commit ce70b6f with merge b5ed423...

bors-servo added a commit that referenced this pull request Oct 7, 2019
fix deprecation warnings for `try!` and dyn traits

this commit fixes some deprecation warnings that are caused by the old `try!`. Every part is replaced with the `?` operator. At one part the compiler mentioned the deprecation:

```bash
trait objects without an explicit `dyn` are deprecated
```

which is also replaced.

<!-- 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-mozjs/480)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Oct 7, 2019

💔 Test failed - checks-travis

@jdm
Copy link
Member

jdm commented Oct 11, 2019

@bors-servo retry

@bors-servo
Copy link
Contributor

bors-servo commented Oct 11, 2019

Testing commit ce70b6f with merge 9241cdd...

bors-servo added a commit that referenced this pull request Oct 11, 2019
fix deprecation warnings for `try!` and dyn traits

this commit fixes some deprecation warnings that are caused by the old `try!`. Every part is replaced with the `?` operator. At one part the compiler mentioned the deprecation:

```bash
trait objects without an explicit `dyn` are deprecated
```

which is also replaced.

<!-- 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-mozjs/480)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Oct 11, 2019

💔 Test failed - checks-travis

@bors-servo
Copy link
Contributor

bors-servo commented Oct 11, 2019

☀️ Test successful - checks-travis, status-appveyor
Approved by: jdm
Pushing 9241cdd to master...

@bors-servo bors-servo merged commit ce70b6f into servo:master Oct 11, 2019
2 of 3 checks passed
2 of 3 checks passed
Travis CI - Pull Request Build Failed
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
homu Test successful
Details
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.