File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -35,10 +35,10 @@ The `test` attribute may only be applied to [free functions] that are monomorphi
35
35
> * `Result <T , E > where T : Termination , E : Debug `
36
36
37
37
r [attributes . testing. test. duplicates]
38
- Only the first instance of `test ` on an function is honored . Subsequent ` test ` attributes are ignored .
38
+ Only the first instance of `test ` on a function is honored .
39
39
40
40
> [! NOTE ]
41
- > ` rustc ` currently warns on duplicate ` test ` attributes .
41
+ > Subsequent ` test ` attributes are currently ignored and ` rustc ` warns about these .
42
42
43
43
<! -- TODO : This is a minor lie . Currently rustc warns that duplicates are ignored , but it then generates multiple test entries with the same name . I would vote for rejecting this in the future . - ->
44
44
You can’t perform that action at this time.
0 commit comments