Describe the Bug
error: trailing semicolon in macro used in expression position
--> pts-ui/src/effects.rs:113:21
|
113 | Err(err) => gloo::console::error!("Failed to play hit sound", err)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= note: for more information, see issue #79813 <https://github.com/rust-lang/rust/issues/79813>
= note: this error originates in the macro `gloo::console::error` (in Nightly builds, run with -Z macro-backtrace for more info)
Steps to Reproduce
Use the macro gloo::console::error! with those parameters
Expected Behavior
Compilation succeeds
Actual Behavior
Compilation fails
Additional Context
$ rustc --version --verbose
rustc 1.99.0-nightly (6f72b5dd5 2026-07-22)
binary: rustc
commit-hash: 6f72b5dd5f82226a2773d40efea7bab941892a73
commit-date: 2026-07-22
host: x86_64-unknown-linux-gnu
release: 1.99.0-nightly
LLVM version: 22.1.8
Describe the Bug
Steps to Reproduce
Use the macro
gloo::console::error!with those parametersExpected Behavior
Compilation succeeds
Actual Behavior
Compilation fails
Additional Context