Skip to content

Commit cef3485

Browse files
committed
[HACK] rustc: temporarily disable non-syntactic elision.
1 parent a6b5d22 commit cef3485

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/librustc/middle/resolve_lifetime.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2136,7 +2136,8 @@ impl<'a, 'tcx> LifetimeContext<'a, 'tcx> {
21362136
| Res::Def(DefKind::Union, _)
21372137
| Res::Def(DefKind::Enum, _)
21382138
| Res::PrimTy(_) => {
2139-
return res == path.res
2139+
// HACK(eddyb) temporarily disable non-syntactic elision.
2140+
return res == path.res && false;
21402141
}
21412142
_ => {}
21422143
}

0 commit comments

Comments
 (0)