-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Build fails on nightly rustc 1.46.0-nightly (346aec9b0 2020-07-11) #1377
Labels
duplicate
This issue or pull request already exists
Comments
Fails to compile for me as well.
[dependencies]
rocket = "0.4.5"
rocket_contrib = { version = "0.4.5", default-features = false, features = ["diesel_postgres_pool", "tera_templates", "serve"] }
diesel = { version = "1.4.5", features = ["postgres", "r2d2"], default-features = false}
serde = "*"
serde_derive = "*" |
See #1358 - this should be fixed by a |
intgr
added a commit
to intgr/rocket-sentry
that referenced
this issue
Jul 22, 2020
* `register_panic_handler()` is no longer needed, the handler is installed automatically. See getsentry/sentry-rust#235 * Running `cargo update` may be necessary due to rwf2/Rocket#1377
intgr
added a commit
to intgr/rocket-sentry
that referenced
this issue
Jul 22, 2020
* `register_panic_handler()` is no longer needed, the handler is installed automatically. See getsentry/sentry-rust#235 * Running `cargo update` may be necessary due to rwf2/Rocket#1377
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Cargo.toml:
[dependencies]
rocket = "0.4.5"
rocket_contrib = { version = "0.4.5", features = ["json"] }
Build output:
Compiling rocket_http v0.4.5
error: proc macro panicked
--> /home/frank/.cargo/registry/src/github.com-1ecc6299db9ec823/pear-0.1.2/src/macros.rs:71:9
|
69 | / macro_rules! pear_try {
70 | | ([$name:ident; $input:ident] $e:expr) => {{
71 | | switch! { [$name;$input] result@$e => { Some(result) }, _ => { None } }
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
72 | | }};
... |
78 | | }}
79 | | }
| |_- in this expansion of
pear_try!
|
::: /home/frank/.cargo/registry/src/github.com-1ecc6299db9ec823/rocket_http-0.4.5/src/parse/uri/parser.rs:119:34
|
119 | let path_and_query = pear_try!(path_and_query(is_pchar));
| ----------------------------------- in this macro invocation
|
= help: message: called
Option::unwrap()
on aNone
valueerror: aborting due to previous error
error: could not compile
rocket_http
.The text was updated successfully, but these errors were encountered: