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
Given file
```
fn main() {
let x: usize = "";
}
```
provide the following output
```rust
error[E0308]: mismatched types
--> file.rs:2:20
|
2 | let x: usize = "";
| ^^ expected usize, found reference
|
= expected type `usize`
= found type `&'static str`
= help: here are some functions which might fulfill your needs:
- .len()
```
0 commit comments