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's perfect valid for super:: to be part of a type in a method's signature. But Mockall has trouble resolving it, probably because of some of the internally created modules. For example, using automock:
error[E0412]: cannot find type `SuperT` in module `super`
--> mockall/tests/mock_nonpub.rs:21:41
|
21 | fn baz(&self) -> super::SuperT;
| ^^^^^^ not found in `super`
error[E0412]: cannot find type `SuperT` in module `super`
--> mockall/tests/mock_nonpub.rs:22:42
|
22 | fn bang(&self) -> super::SuperT;
| ^^^^^^ not found in `super`
error: aborting due to 2 previous errors
The text was updated successfully, but these errors were encountered:
It's perfect valid for
super::
to be part of a type in a method's signature. But Mockall has trouble resolving it, probably because of some of the internally created modules. For example, usingautomock
:or using
mock!
These yield compile errors like the following:
The text was updated successfully, but these errors were encountered: