]> git.lizzy.rs Git - rust.git/commit
Replaced `String` with `&str` in API for `add_explanation_to_diagnostic`.
authorFelix S. Klock II <pnkfelix@pnkfx.org>
Fri, 5 Oct 2018 09:00:05 +0000 (11:00 +0200)
committerFelix S. Klock II <pnkfelix@pnkfx.org>
Fri, 5 Oct 2018 10:00:01 +0000 (12:00 +0200)
commit504ab34e6298bf7c743d1df0cd3f48522355552d
tree4fb16d7bccc847393348f76eb5379d907d01e957
parent9eebe77a86cb07e7444f07b7b7dac879f5878269
Replaced `String` with `&str` in API for `add_explanation_to_diagnostic`.
src/librustc_mir/borrow_check/error_reporting.rs
src/librustc_mir/borrow_check/nll/explain_borrow/mod.rs