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
what is the problem?
error[E0433]: failed to resolve: could not find compile in vm
--> pyc\src/main.rs:80:21
|
80 | vm::compile::Mode::Exec,
| ^^^^^^^ could not find compile in vm
|
help: consider importing this enum
|
1 + use rustpython_vm::compiler::Mode;
|
help: if you import Mode, refer to it directly
|
80 - vm::compile::Mode::Exec,
80 + Mode::Exec,
|
error[E0061]: this method takes 2 arguments but 1 argument was supplied
--> pyc\src/main.rs:66:31
|
66 | .map_err(|err| vm.new_syntax_error(&err));
| ^^^^^^^^^^^^^^^^------ an argument of type Option<&str> is missing
The text was updated successfully, but these errors were encountered:
what is the problem?
error[E0433]: failed to resolve: could not find
compile
invm
--> pyc\src/main.rs:80:21
|
80 | vm::compile::Mode::Exec,
| ^^^^^^^ could not find
compile
invm
|
help: consider importing this enum
|
1 + use rustpython_vm::compiler::Mode;
|
help: if you import
Mode
, refer to it directly|
80 - vm::compile::Mode::Exec,
80 + Mode::Exec,
|
error[E0061]: this method takes 2 arguments but 1 argument was supplied
--> pyc\src/main.rs:66:31
|
66 | .map_err(|err| vm.new_syntax_error(&err));
| ^^^^^^^^^^^^^^^^------ an argument of type
Option<&str>
is missingThe text was updated successfully, but these errors were encountered: