about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorDavid Wood <david@davidtw.co>2018-10-17 00:47:28 +0200
committerDavid Wood <david@davidtw.co>2018-10-17 00:47:28 +0200
commitd8db5299fae13a5ef321fd8f7be7364d735fecbb (patch)
tree55efb51bba3b6fb685f45ea72a9ada531d394ce3 /src/test/incremental/thinlto
parent99ab2f4071b959b0276862605d7107227c2fa76f (diff)
downloadrust-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