emilk / eframe_template

The easy way to make a Rust app with a GUI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[rust] or-patterns syntax is experimental

2xAA opened this issue · comments

Using rust 1.51.0, running ./setup_web.sh (after #21) results in the following output:

  Compiling wasm-bindgen-cli-support v0.2.75
error[E0658]: or-patterns syntax is experimental
   --> /home/twoxaa/.cargo/registry/src/github.com-1ecc6299db9ec823/wasm-bindgen-cli-support-0.2.75/src/externref.rs:354:23
    |
354 |                 kind: VectorKind::Externref | VectorKind::NamedExternref(_),
    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: see issue #54883 <https://github.com/rust-lang/rust/issues/54883> for more information

error[E0658]: or-patterns syntax is experimental
   --> /home/twoxaa/.cargo/registry/src/github.com-1ecc6299db9ec823/wasm-bindgen-cli-support-0.2.75/src/externref.rs:358:23
    |
358 |                 kind: VectorKind::Externref | VectorKind::NamedExternref(_),
    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: see issue #54883 <https://github.com/rust-lang/rust/issues/54883> for more information

error[E0658]: or-patterns syntax is experimental
   --> /home/twoxaa/.cargo/registry/src/github.com-1ecc6299db9ec823/wasm-bindgen-cli-support-0.2.75/src/externref.rs:362:23
    |
362 |                 kind: VectorKind::Externref | VectorKind::NamedExternref(_),
    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: see issue #54883 <https://github.com/rust-lang/rust/issues/54883> for more information

error[E0658]: or-patterns syntax is experimental
   --> /home/twoxaa/.cargo/registry/src/github.com-1ecc6299db9ec823/wasm-bindgen-cli-support-0.2.75/src/externref.rs:366:23
    |
366 |                 kind: VectorKind::Externref | VectorKind::NamedExternref(_),
    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: see issue #54883 <https://github.com/rust-lang/rust/issues/54883> for more information

error[E0658]: or-patterns syntax is experimental
   --> /home/twoxaa/.cargo/registry/src/github.com-1ecc6299db9ec823/wasm-bindgen-cli-support-0.2.75/src/externref.rs:370:23
    |
370 |                 kind: VectorKind::Externref | VectorKind::NamedExternref(_),
    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: see issue #54883 <https://github.com/rust-lang/rust/issues/54883> for more information

error[E0658]: or-patterns syntax is experimental
   --> /home/twoxaa/.cargo/registry/src/github.com-1ecc6299db9ec823/wasm-bindgen-cli-support-0.2.75/src/externref.rs:374:23
    |
374 |                 kind: VectorKind::Externref | VectorKind::NamedExternref(_),
    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: see issue #54883 <https://github.com/rust-lang/rust/issues/54883> for more information

error[E0658]: or-patterns syntax is experimental
   --> /home/twoxaa/.cargo/registry/src/github.com-1ecc6299db9ec823/wasm-bindgen-cli-support-0.2.75/src/externref.rs:378:23
    |
378 |                 kind: VectorKind::Externref | VectorKind::NamedExternref(_),
    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: see issue #54883 <https://github.com/rust-lang/rust/issues/54883> for more information

error: aborting due to 7 previous errors

For more information about this error, try `rustc --explain E0658`.
error: could not compile `wasm-bindgen-cli-support`

The rustc --explain E0658 suggests to use a nightly build to avoid this error.
I've downloaded 1.56.0-nightly, but it still fails with the same output.