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
IDE name and version: IntelliJ IDEA 2023.2.1 (Ultimate Edition) Build #IU-232.9559.62, built on August 23, 2023
Operating system: MacOS Ventura 13.5 (22G74)
Problem description
I play with rustlings. In enum2.rs exercise, line 29(message.call();) plugin show error: This function takes 1 parameter but 0 parameters were supplied [E0061]
But method call does't have any parameter
Hi, thank you for reaching us.
The Rustlings project was developed as an interactive trainer with a command-line interface, so exercise files are not included in the project module tree. You can see a corresponding notification, file is not included in module tree, analysis not available at the top of the code editor window. This means that the Rust plugin cannot analyze the code in this file. You can find detailed information about the modules, packages, and crates at this link
Therefore, as you mentioned, analysis works correctly if you place the exercise code in a new project.
Environment
Problem description
I play with rustlings. In enum2.rs exercise, line 29(
message.call();
) plugin show error:This function takes 1 parameter but 0 parameters were supplied [E0061]
But method
call
does't have any parameterHere is example from playground
The text was updated successfully, but these errors were encountered: