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
Currently when compiler finds an error in mock injected code, it prints a message pointing to the injection annotation:
error[E0106]: missing lifetime specifier
--> tests/mocking_regular_functions.rs:6:1
|
6 | #[inject_mocks]
| ^ expected lifetime parameter
|
= help: this function's return type contains a borrowed value, but there is no value for it to be borrowed from
= help: consider giving it a 'static lifetime
Expected behavior of compiler is pointing to place, where the error actually occurs.
As of writing this Syn on master branch destroys span information. Switching proc-macro2 'unstable' feature, which is supposed to help to some extent makes Syn uncompilable.
Currently when compiler finds an error in mock injected code, it prints a message pointing to the injection annotation:
Expected behavior of compiler is pointing to place, where the error actually occurs.
Blocked until Syn 0.12: dtolnay/syn#178
The text was updated successfully, but these errors were encountered: