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
---- src/lib.rs - OptionBool::ok_or_else (line 422) stdout ----
error: code relies on type inference rules which are likely to change
--> <anon>:4:2
|
4 | assert_eq!(OptionBool::SomeTrue.ok_or_else(|| panic!()), Ok(true));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: #[deny(resolve_trait_on_defaulted_unit)] on by default
= 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 #39216 <https://github.com/rust-lang/rust/issues/39216>
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: