diff options
| author | David Wood <david@davidtw.co> | 2018-10-17 00:47:28 +0200 |
|---|---|---|
| committer | David Wood <david@davidtw.co> | 2018-10-17 00:47:28 +0200 |
| commit | d8db5299fae13a5ef321fd8f7be7364d735fecbb (patch) | |
| tree | 55efb51bba3b6fb685f45ea72a9ada531d394ce3 /src/test/incremental/thinlto | |
| parent | 99ab2f4071b959b0276862605d7107227c2fa76f (diff) | |
| download | rust-d8db5299fae13a5ef321fd8f7be7364d735fecbb.tar.gz rust-d8db5299fae13a5ef321fd8f7be7364d735fecbb.zip | |
Don't buffer lints.
When lints are emitted from the AST borrow checker, they do not signal an error as it is not known at that time whether, due to attributes, that lint will error or warn. This means that when lints are buffered in the MIR they will always be downgraded, as the AST borrowck will not have been marked as having errored, even if a lint was upgraded to an error after being emitted from the AST borrowck. The simple solution to this is to not buffer any lints from the MIR borrowck.
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions
