]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc/middle/trans/debuginfo.rs
Deprecate the bytes!() macro.
[rust.git] / src / librustc / middle / trans / debuginfo.rs
index 11166f92b1cc2629229b0d7e3f8b2f2bf770649d..783fdfa4aaec911145cb432fbb8c4fae5f278f74 100644 (file)
@@ -1411,7 +1411,7 @@ fn compile_unit_metadata(cx: &CrateContext) {
                 match abs_path.path_relative_from(work_dir) {
                     Some(ref p) if p.is_relative() => {
                             // prepend "./" if necessary
-                            let dotdot = bytes!("..");
+                            let dotdot = b"..";
                             let prefix = &[dotdot[0], ::std::path::SEP_BYTE];
                             let mut path_bytes = Vec::from_slice(p.as_vec());