Commit 0408914
committed
Remove
We're not certain what this rule means; we've run various tests and
could not confirm our interpretation of the rule. E.g. (thanks to
ehuss for this):
```rust
use pm::{WithHelperAttr, helper};
#[derive(WithHelperAttr)]
#[helper]
#[derive(helper)] // ERROR: expected derive macro, found derive helper attribute `helper`
struct S;
```
Interestingly, this works and calls the attribute macro:
```rust
use pm::{WithHelperAttr, helper};
#[derive(WithHelperAttr, helper)]
#[helper]
struct S;
```
So that we can merge the rest, let's remove this rule for now and add
it back in future work.derive-helpers rule with unclear meaning1 parent f5aa85a commit 0408914
1 file changed
+0
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
350 | 350 | | |
351 | 351 | | |
352 | 352 | | |
353 | | - | |
354 | | - | |
355 | | - | |
356 | 353 | | |
357 | 354 | | |
358 | 355 | | |
| |||
0 commit comments