1
Fork 0

Some test cleanups

This commit is contained in:
Oli Scherer 2022-09-23 07:18:33 +00:00
parent e9d219e97c
commit e237aaef25
4 changed files with 7 additions and 15 deletions

View file

@ -105,7 +105,7 @@ pub(crate) fn insert_outlives_predicate<'tcx>(
// struct Ss<'a, T>(&'a Opaque<T>);
// ```
//
// Here we want to require an explicit `where Opaque<T>: 'a`
// Here we want to have an implied bound `Opaque<T>: 'a`
let ty = tcx.mk_opaque(def_id, substs);
required_predicates