rustc: remove leftover lifetimes with no bounds from where clauses.
This commit is contained in:
parent
b25b466a88
commit
1d0cb40908
11 changed files with 7 additions and 28 deletions
|
|
@ -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 {
|
||||
$(
|
||||
|
|
|
|||
|
|
@ -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(),
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue