Review comments.

This commit is contained in:
Camille GILLOT 2019-12-29 20:45:48 +01:00
parent 1b92e7e446
commit 31f85d3fe2
3 changed files with 5 additions and 13 deletions

View file

@ -1,9 +1,4 @@
//! Name resolution for lifetimes.
//!
//! Name resolution for lifetimes follows *much* simpler rules than the
//! full resolve. For example, lifetime names are never exported or
//! used between functions, and they operate in a purely top-down
//! way. Therefore, we break lifetime name resolution into a separate pass.
//! Name resolution for lifetimes: type declarations.
use crate::hir::def_id::{DefId, LocalDefId};
use crate::hir::{GenericParam, ItemLocalId};