Location (URL)
https://doc.rust-lang.org/std/panic/trait.RefUnwindSafe.html
and
https://doc.rust-lang.org/std/primitive.reference.html
Summary
The prose of the Primitive Type reference page documents when various traits are implemented for references (both shared and exclusive). Notably it includes some auto traits, such as Send and Sync—but not others, such as Unpin, UnwindSafe or RefUnwindSafe.
Fortunately, the pages for those traits do document when they are implemented for reference types—except in the case of RefUnwindSafe! Indeed I cannot find it documented anywhere when RefUnwindSafe is implemented for &T or &mut T (I assume, in both cases, when T: RefUnwindSafe though I am not 100% certain).
At the very least, the RefUnwindSafe page should include the implementations for reference types.
Furthermore, for completeness, the prose of the Primitive Type reference page should probably include Unpin, UnwindSafe and RefUnwindSafe.
Location (URL)
https://doc.rust-lang.org/std/panic/trait.RefUnwindSafe.html
and
https://doc.rust-lang.org/std/primitive.reference.html
Summary
The prose of the Primitive Type reference page documents when various traits are implemented for references (both shared and exclusive). Notably it includes some auto traits, such as
SendandSync—but not others, such asUnpin,UnwindSafeorRefUnwindSafe.Fortunately, the pages for those traits do document when they are implemented for reference types—except in the case of
RefUnwindSafe! Indeed I cannot find it documented anywhere whenRefUnwindSafeis implemented for&Tor&mut T(I assume, in both cases, whenT: RefUnwindSafethough I am not 100% certain).At the very least, the
RefUnwindSafepage should include the implementations for reference types.Furthermore, for completeness, the prose of the Primitive Type reference page should probably include
Unpin,UnwindSafeandRefUnwindSafe.