Fix manual regarding attribute placement.

Fixes #15494.
auto merge of #16189 : steveklabnik/rust/gh15494, r=alexcrichton

Fixes #15494.