Skip to content

Commit

Permalink
Superfluous lifetime.
Browse files Browse the repository at this point in the history
  • Loading branch information
cjgillot committed Nov 25, 2019
1 parent 8ffc944 commit 9d5f721
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/librustc_interface/queries.rs
Expand Up @@ -316,8 +316,8 @@ impl Linker {
}

impl Compiler {
pub fn enter<'c, F, T>(&'c self, f: F) -> T
where F: for<'q> FnOnce(&'q Queries<'c>) -> T
pub fn enter<F, T>(&self, f: F) -> T
where F: for<'q> FnOnce(&'q Queries<'_>) -> T
{
let queries = Queries::new(&self);
f(&queries)
Expand Down

0 comments on commit 9d5f721

Please sign in to comment.