You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As preparation for an upcoming Rust compiler release, the following
warning was generated and needed to be fixed:
warning: this function depends on never type fallback being `()`
--> src/main.rs:247:1
|
247 | fn bump(version: String) -> Result<()> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= 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 #123748 <rust-lang/rust#123748>
= help: specify the types explicitly
note: in edition 2024, the requirement `!: LuaUserData` will fail
--> src/main.rs:268:22
|
268 | .call(())
| ^^^^
= note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default
0 commit comments