//! Since only `str` implements SharedMemCast, it should be impossible to store a `&str` in
//! a struct and then derive SharedMemCast. This would be invalid anyway since you can't store
//! references in shared memory.
use SharedMemCast;
;
// No lifetime on struct itself so forced to reject based on field
;