-
-
Notifications
You must be signed in to change notification settings - Fork 90
Open
Labels
🏷️ macrosfacet-macros, proc-macro implementationfacet-macros, proc-macro implementation🐛 bugSomething isn't workingSomething isn't working
Description
Seems as if the type inference for the assert_same macro is not as good as for assert_eq, when migrating some test I run into a few of:
--> data.rs:75:23
|
75 | assert_same!(Some(None), pri.map(|v| v.sk));
| ^^^^ cannot infer type of the type parameter `T` declared on the enum `Option`
|
help: consider specifying the generic argument
|
75 | assert_same!(Some(None::<T>), pri.map(|v| v.sk));
| +++++
Metadata
Metadata
Assignees
Labels
🏷️ macrosfacet-macros, proc-macro implementationfacet-macros, proc-macro implementation🐛 bugSomething isn't workingSomething isn't working