]> git.lizzy.rs Git - rust.git/commit - src/tools/miri
Auto merge of #68080 - varkor:declared-here, r=petrochenkov
authorbors <bors@rust-lang.org>
Fri, 31 Jan 2020 15:13:51 +0000 (15:13 +0000)
committerbors <bors@rust-lang.org>
Fri, 31 Jan 2020 15:13:51 +0000 (15:13 +0000)
commit5371ddf8c6937e90ffb279c24ac3e79d17833399
treee039c56153743ae4dc03e5b345143bfb40708b41
parentecde10fc283530db0db42e2c3e2e3132e809b139
parent45832839087da140eeb2a85a8b98927ec27ba21c
Auto merge of #68080 - varkor:declared-here, r=petrochenkov

Address inconsistency in using "is" with "declared here"

"is" was generally used for NLL diagnostics, but not other diagnostics. Using "is" makes the diagnostics sound more natural and readable, so it seems sensible to commit to them throughout.

r? @Centril
src/librustc_mir/borrow_check/diagnostics/conflict_errors.rs
src/librustc_mir/transform/check_consts/validation.rs
src/test/ui/lint/reasons.rs
src/test/ui/trivial-bounds/trivial-bounds-lint.stderr