You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
structStr([u8]);#[deriving(Clone)]structCharSplits<'a,Sep>{string:&'a Str,//~^ error: the trait `core::kinds::Sized` is not implemented for the type `Str`sep:Sep,allow_trailing_empty:bool,only_ascii:bool,finished:bool,}fnclone(s:&Str) -> &Str{Clone::clone(&s)//~^ error: the trait `core::kinds::Sized` is not implemented for the type `Str`}fnmain(){}
STR
Found while attempting #19036
We need to DSTify the
impl<'a, T> Clone for &'a T
cc @aturon
cc #16918
The text was updated successfully, but these errors were encountered: