We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
struct Foo; fn main() { Foo::bar(); }
ERROR:rustc::middle::resolve: !!! (resolving module in lexical scope) module wasn't actually a module! <anon>:18:21: 18:29 error: unresolved name <anon>:18 struct Foo; Foo::bar() ^~~~~~~~ <anon>:18:21: 18:29 error: use of undeclared module `Foo` <anon>:18 struct Foo; Foo::bar() ^~~~~~~~ ERROR:rustc::middle::resolve: !!! (resolving module in lexical scope) module wasn't actually a module! <anon>:18:21: 18:29 error: unresolved name `Foo::bar`. <anon>:18 struct Foo; Foo::bar() ^~~~~~~~ error: aborting due to 3 previous errors playpen: application terminated with error code 101
If there is some other static method, then calling a non-existent method gives a sensible "cannot resolve method Foo::bar" error.
Foo::bar
The text was updated successfully, but these errors were encountered:
rustc: Stop calling error! in resolve
ebbe300
These are taken care of with compiler errors later on, no need to spam with extra unformatted information unconditionally. Closes rust-lang#14225
auto merge of #14239 : alexcrichton/rust/issue-14225, r=huonw
72c1534
These are taken care of with compiler errors later on, no need to spam with extra unformatted information unconditionally. Closes #14225
8befaba
6959b4f
Auto merge of rust-lang#14225 - lowr:patch/remove-nested-dbg, r=Veykril
d1fd635
Support removing nested `dbg!()`s in `remove_dbg` Closes rust-lang#13901
Successfully merging a pull request may close this issue.
If there is some other static method, then calling a non-existent method gives a sensible "cannot resolve method
Foo::bar
" error.The text was updated successfully, but these errors were encountered: