forked from rust-lang/rust
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FIXME thread the
errors_buffer
down into nll::type_check
.
Right now its solely used for `check_local`, which ... I guess is not surprising? This commit is tagged as "FIXME" because it explicitly imports the `errors::Emit` trait since in one place it has a pretty dirty hack where it dynamically detects whether we are buffering the errors or not (based on whether it was passed a `Some(&mut errors_buffer)`).
- Loading branch information
Showing
2 changed files
with
40 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters