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
warning: function is never used: `test`
--> <anon>:2:1
|
2 | fn test() -> (u8,) {
| _^ starting here...
3 | | (-1.0 as u8,)
4 | | }
| |_^ ...ending here
|
= note: #[warn(dead_code)] on by default
warning: can't cast this type
--> <anon>:3:6
|
3 | (-1.0 as u8,)
| ^^^^^^^^^^
|
= note: #[warn(const_err)] on by default
warning: can't cast this type
--> <anon>:3:6
|
3 | (-1.0 as u8,)
| ^^^^^^^^^^
|
= note: #[warn(const_err)] on by default
warning: can't cast this type
--> <anon>:3:6
|
3 | (-1.0 as u8,)
| ^^^^^^^^^^
|
= note: #[warn(const_err)] on by default
code:
output:
EDIT: minimized example a bit
The text was updated successfully, but these errors were encountered: