rustc: take TyCtxt and RegionMaps in CodeMap::span.
This commit is contained in:
parent
28ddd7a4ef
commit
ea6aca7726
13 changed files with 119 additions and 169 deletions
|
|
@ -4,7 +4,6 @@ error[E0271]: type mismatch resolving `for<'r> <[closure@$DIR/closure-mismatch.r
|
|||
18 | baz(|_| ());
|
||||
| ^^^ expected bound lifetime parameter, found concrete lifetime
|
||||
|
|
||||
= note: concrete lifetime that was found is lifetime '_#0r
|
||||
= note: required because of the requirements on the impl of `Foo` for `[closure@$DIR/closure-mismatch.rs:18:9: 18:15]`
|
||||
= note: required by `baz`
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue