From dea13b4bc7fc51caeb950a531b9652599dba2a2e Mon Sep 17 00:00:00 2001 From: Mark Rousskov Date: Fri, 3 Aug 2018 15:37:15 -0600 Subject: Move path2cstr to rustc_fs_util --- src/librustc_codegen_llvm/debuginfo/metadata.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/librustc_codegen_llvm/debuginfo') diff --git a/src/librustc_codegen_llvm/debuginfo/metadata.rs b/src/librustc_codegen_llvm/debuginfo/metadata.rs index 69ef92ed98e..3ae30e85796 100644 --- a/src/librustc_codegen_llvm/debuginfo/metadata.rs +++ b/src/librustc_codegen_llvm/debuginfo/metadata.rs @@ -35,7 +35,7 @@ use rustc::ty::{self, AdtKind, ParamEnv, Ty, TyCtxt}; use rustc::ty::layout::{self, Align, LayoutOf, PrimitiveExt, Size, TyLayout}; use rustc::session::config; use rustc::util::nodemap::FxHashMap; -use rustc::util::common::path2cstr; +use rustc_fs_util::path2cstr; use libc::{c_uint, c_longlong}; use std::ffi::CString; -- cgit 1.4.1-3-g733a5