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
3535> * `Result <T , E > where T : Termination , E : Debug `
3636
3737r [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 .
3939
4040> [! NOTE ]
41- > ` rustc ` currently warns on duplicate ` test ` attributes .
41+ > Subsequent ` test ` attributes are currently ignored and ` rustc ` warns about these .
4242
4343<! -- 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 . - ->
4444
You can’t perform that action at this time.
0 commit comments