about summary refs log tree commit diff
path: root/src/librustc_trans/trans/builder.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/librustc_trans/trans/builder.rs')
-rw-r--r--src/librustc_trans/trans/builder.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_trans/trans/builder.rs b/src/librustc_trans/trans/builder.rs
index b39dbd71117..97f0b92a290 100644
--- a/src/librustc_trans/trans/builder.rs
+++ b/src/librustc_trans/trans/builder.rs
@@ -20,7 +20,7 @@ use trans::machine::llalign_of_pref;
 use trans::type_::Type;
 use util::nodemap::FnvHashMap;
 use libc::{c_uint, c_char};
-use std::string::String;
+use std::c_str::ToCStr;
 use syntax::codemap::Span;
 
 pub struct Builder<'a, 'tcx: 'a> {