mirror of https://github.com/rwf2/Rocket.git
Update UI tests for latest stable rustc.
This commit is contained in:
parent
26b58846a7
commit
d92b7249cb
|
@ -252,3 +252,9 @@ error[E0271]: type mismatch resolving `<std::string::String as FromParam<'_>>::E
|
|||
|
|
||||
22 | fn optionals(id: Option<i32>, name: Result<String, &str>) { }
|
||||
| ^^^^^^ expected enum `Infallible`, found `&str`
|
||||
|
||||
error[E0271]: type mismatch resolving `<std::string::String as FromParam<'_>>::Error == &str`
|
||||
--> tests/ui-fail-stable/typed-uri-bad-type.rs:22:37
|
||||
|
|
||||
22 | fn optionals(id: Option<i32>, name: Result<String, &str>) { }
|
||||
| ^^^^^^ expected `&str`, found enum `Infallible`
|
||||
|
|
|
@ -277,3 +277,9 @@ error[E0271]: type mismatch resolving `<std::string::String as FromParam<'_>>::E
|
|||
|
|
||||
15 | fn optionals(id: Option<i32>, name: Result<String, &str>) { }
|
||||
| ^^^^^^ expected enum `Infallible`, found `&str`
|
||||
|
||||
error[E0271]: type mismatch resolving `<std::string::String as FromParam<'_>>::Error == &str`
|
||||
--> tests/ui-fail-stable/typed-uris-bad-params.rs:15:37
|
||||
|
|
||||
15 | fn optionals(id: Option<i32>, name: Result<String, &str>) { }
|
||||
| ^^^^^^ expected `&str`, found enum `Infallible`
|
||||
|
|
Loading…
Reference in New Issue