about summary refs log tree commit diff
path: root/src/libstd/sys
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-10-03 16:42:26 +0000
committerbors <bors@rust-lang.org>2017-10-03 16:42:26 +0000
commit835e3e50781af375e6fef2d17e1bfa50d4e4aba3 (patch)
tree4d9a4fd2506bcb14b3c77990a7f6078305343d44 /src/libstd/sys
parent8891044e89a22eeed1fcea957140072c26fcc62e (diff)
parentd328d264aac91f8f5d0514d52d598277389e14e0 (diff)
downloadrust-835e3e50781af375e6fef2d17e1bfa50d4e4aba3.tar.gz
rust-835e3e50781af375e6fef2d17e1bfa50d4e4aba3.zip
Auto merge of #44922 - zilbuz:issue-44596/E0594, r=pnkfelix
MIR borrowck: move span_label to `borrowck_errors.rs`

The calls to `span_label` are moved and factorized for:
* E0503 (`cannot_use_when_mutably_borrowed()`)
* E0506 (`cannot_assign_to_borrowed()`)

Additionnally, the error E0594 (`cannot_assign_static()`) has been factorized between `check_loan.rs` and `borrowc_check.rs`.

Part of #44596
Diffstat (limited to 'src/libstd/sys')
0 files changed, 0 insertions, 0 deletions