File tree 1 file changed +0
-11
lines changed
src/librustc_typeck/check
1 file changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -510,17 +510,6 @@ enum DropckKind<'tcx> {
510
510
/// outlive self.
511
511
///
512
512
/// Equivalent to RevisedTy with no change to the self type.
513
- ///
514
- /// FIXME: this name may not be general enough; it should be
515
- /// talking about Phantom lifetimes rather than just borrows.
516
- ///
517
- /// (actually, pnkfelix is not 100% sure that's the right
518
- /// viewpoint. If I'm holding a phantom lifetime just to
519
- /// constrain a reference type that occurs solely in *negative*
520
- /// type positions, then my destructor cannot itself ever actually
521
- /// access such references, right? And don't we end up essentially
522
- /// requring people to put a fake borrow inside a PhantomData in
523
- /// order to make phantom lifetimes work anyway?)
524
513
BorrowedDataMustStrictlyOutliveSelf ,
525
514
526
515
/// The nearly completely-unsafe kind.
You can’t perform that action at this time.
0 commit comments