gcx outlives tcx which outlives a, no need to explicitly do gcx: a
This commit is contained in:
parent
e0ea756b9f
commit
5dc5c02581
1 changed files with 1 additions and 1 deletions
|
|
@ -849,7 +849,7 @@ impl<'tcx> CommonTypes<'tcx> {
|
|||
///
|
||||
/// [rustc guide]: https://rust-lang-nursery.github.io/rustc-guide/ty.html
|
||||
#[derive(Copy, Clone)]
|
||||
pub struct TyCtxt<'a, 'gcx: 'a+'tcx, 'tcx: 'a> {
|
||||
pub struct TyCtxt<'a, 'gcx: 'tcx, 'tcx: 'a> {
|
||||
gcx: &'a GlobalCtxt<'gcx>,
|
||||
interners: &'a CtxtInterners<'tcx>
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue