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
error: expected one of `#`, `>`, `const`, identifier, or lifetime, found `,`
--> src/main.rs:3:1
|
3 | #[auto_impl::auto_impl(&)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected one of `#`, `>`, `const`, identifier, or lifetime
|
= note: this error originates in the attribute macro `auto_impl::auto_impl` (in Nightly builds, run with -Z macro-backtrace for more info)
This is a problem when the formatter inserts trailing commas, which happens if you have lots of generics so that they wrap over to a new line:
The following code compiles:
But the following code gives an error:
This is a problem when the formatter inserts trailing commas, which happens if you have lots of generics so that they wrap over to a new line:
The text was updated successfully, but these errors were encountered: