rustc: remove leftover lifetimes with no bounds from where clauses.

This commit is contained in:
Eduard-Mihai Burtescu 2019-06-14 19:43:53 +03:00
parent b25b466a88
commit 1d0cb40908
11 changed files with 7 additions and 28 deletions

View file

@ -207,8 +207,6 @@ macro_rules! define_dep_nodes {
pub fn new<'a, 'tcx>(tcx: TyCtxt<'tcx>,
dep: DepConstructor<'tcx>)
-> DepNode
where 'tcx,
'tcx
{
match dep {
$(

View file

@ -48,7 +48,6 @@ pub fn super_lattice_tys<'a, 'tcx, L>(
) -> RelateResult<'tcx, Ty<'tcx>>
where
L: LatticeDir<'a, 'tcx>,
'tcx,
{
debug!("{}.lattice_tys({:?}, {:?})",
this.tag(),

View file

@ -697,7 +697,6 @@ impl<'cx, 'tcx> SelectionContext<'cx, 'tcx> {
) -> Result<EvaluationResult, OverflowError>
where
I: IntoIterator<Item = PredicateObligation<'tcx>>,
'tcx,
{
let mut result = EvaluatedToOk;
for obligation in predicates {

View file

@ -511,7 +511,6 @@ fn decode_tagged<'a, 'tcx, D, T, V>(decoder: &mut D,
where T: Decodable + Eq + ::std::fmt::Debug,
V: Decodable,
D: DecoderWithPosition,
'tcx,
{
let start_pos = decoder.position();