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

Update compiler tests for 2018-12-28 nightly. #875

Merged
merged 1 commit into from
Dec 31, 2018

Conversation

jebrosen
Copy link
Collaborator

The 2018-12-28 nightly (Probably fff01cc in rust-lang/rust#56999) exposed some more errors in the compiler tests, two trivial:

  • a few missing fn main
  • a missing use rocket::http::RawStr;

And one annoying one:

The derives for UriDisplay{Path,Query} also derive FromUriParam. Since the 2018-12-28 nightly, FooX: UriDisplay<Path> failing to be implemented shows up again as unsatisfied trait bounds for the implementation of FromUriParam. I'm not thrilled with the current error output but wanted to at least ensure it passes the CI with this change.

One possible fix would be to add a trivial where constraint (impl FromUriParam<...> for &Foo1 where Foo1: UriDisplay<...>), but that feels inappropriate as a way to fix error messages and requires use of another unstable feature.

@SergioBenitez SergioBenitez merged commit afd08ff into rwf2:master Dec 31, 2018
@jebrosen jebrosen deleted the error-error-error branch January 1, 2019 00:03
@SergioBenitez SergioBenitez added the pr: merged This pull request was merged manually. label Jan 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr: merged This pull request was merged manually.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants