diff options
| author | ljedrz <ljedrz@gmail.com> | 2018-09-28 17:28:47 +0200 |
|---|---|---|
| committer | ljedrz <ljedrz@gmail.com> | 2018-09-29 14:57:40 +0200 |
| commit | 0e84647e18181ea9aa199d42b3da598eb59ab70c (patch) | |
| tree | 6a7be0e53aba5503f78f0e0020657971b93d1231 | |
| parent | 9fd6fad3208c5f3ad11c49b65eb89732ad911e81 (diff) | |
| download | rust-0e84647e18181ea9aa199d42b3da598eb59ab70c.tar.gz rust-0e84647e18181ea9aa199d42b3da598eb59ab70c.zip | |
rustc/infer: use to_owned instead of to_string with string literals
3 files changed, 10 insertions, 10 deletions
diff --git a/src/librustc/infer/error_reporting/need_type_info.rs b/src/librustc/infer/error_reporting/need_type_info.rs index 505b1bc032d..efb316243fa 100644 --- a/src/librustc/infer/error_reporting/need_type_info.rs +++ b/src/librustc/infer/error_reporting/need_type_info.rs @@ -100,7 +100,7 @@ impl<'a, 'gcx, 'tcx> InferCtxt<'a, 'gcx, 'tcx> { let mut labels = vec