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
It correctly diagnoses that oops is undeclared. It should stop after this error, and not display any further errors related to the incomplete arc object.
But it continues and displays a second error, which doesn't make any sense and has a nonsense suggestion:
error[E0599]: no method named `clone` found for struct `Arc<_>` in the current scope
--> src/main.rs:5:9
|
5 | arc.clone();
| ^^^^^ method not found in `Arc<_>`
|
= note: `arc` is a function, perhaps you wish to call it