ghost icon indicating copy to clipboard operation
ghost copied to clipboard

Getting rid of PhantomData

Open hardliner66 opened this issue 3 years ago • 1 comments

Could this be used to somehow get rid of using PhantomData?

so we could do something like:

struct Test<T> {
  i: i32,
  s: String,
}

hardliner66 avatar Jun 30 '22 07:06 hardliner66

Yes that would be possible to implement. It is not the goal of this crate though.

dtolnay avatar Jun 30 '22 09:06 dtolnay

@dtolnay Was this implemented or did you just close the issue? I'm just a bit confused by the closed this as completed.

hardliner66 avatar Jul 04 '23 13:07 hardliner66