]> git.lizzy.rs Git - rust.git/commitdiff
Fix fallout of removing quotes in crate names
authorAlex Crichton <alex@alexcrichton.com>
Fri, 27 Mar 2015 17:22:44 +0000 (10:22 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Fri, 27 Mar 2015 18:43:40 +0000 (11:43 -0700)
70 files changed:
src/test/auxiliary/issue-12133-dylib2.rs
src/test/auxiliary/issue-13560-3.rs
src/test/auxiliary/issue-13620-2.rs
src/test/auxiliary/issue-13872-2.rs
src/test/auxiliary/issue-13872-3.rs
src/test/auxiliary/static-function-pointer-aux.rs
src/test/auxiliary/trait_default_method_xc_aux.rs
src/test/compile-fail/use-meta-mismatch.rs
src/test/compile-fail/weak-lang-item.rs
src/test/debuginfo/basic-types-globals-metadata.rs
src/test/debuginfo/basic-types-globals.rs
src/test/debuginfo/basic-types-mut-globals.rs
src/test/debuginfo/c-style-enum.rs
src/test/debuginfo/generic-struct.rs
src/test/debuginfo/lexical-scopes-in-block-expression.rs
src/test/debuginfo/simple-struct.rs
src/test/debuginfo/simple-tuple.rs
src/test/debuginfo/type-names.rs
src/test/debuginfo/vec-slices.rs
src/test/parse-fail/bad-lit-suffixes.rs
src/test/run-make/weird-output-filenames/Makefile
src/test/run-pass-fulldeps/issue-13560.rs
src/test/run-pass-fulldeps/issue-16822.rs
src/test/run-pass-fulldeps/issue-18502.rs
src/test/run-pass/associated-types-cc.rs
src/test/run-pass/blind-item-mixed-crate-use-item.rs
src/test/run-pass/crate-name-attr-used.rs
src/test/run-pass/issue-10028.rs
src/test/run-pass/issue-11224.rs
src/test/run-pass/issue-11225-1.rs
src/test/run-pass/issue-11225-2.rs
src/test/run-pass/issue-11508.rs
src/test/run-pass/issue-11529.rs
src/test/run-pass/issue-12133-1.rs
src/test/run-pass/issue-12133-2.rs
src/test/run-pass/issue-12133-3.rs
src/test/run-pass/issue-13620.rs
src/test/run-pass/issue-13872.rs
src/test/run-pass/issue-14421.rs
src/test/run-pass/issue-14422.rs
src/test/run-pass/issue-15562.rs
src/test/run-pass/issue-16643.rs
src/test/run-pass/issue-17662.rs
src/test/run-pass/issue-17718.rs
src/test/run-pass/issue-18501.rs
src/test/run-pass/issue-18514.rs
src/test/run-pass/issue-18711.rs
src/test/run-pass/issue-18859.rs
src/test/run-pass/issue-19340-1.rs
src/test/run-pass/issue-4545.rs
src/test/run-pass/issue-5518.rs
src/test/run-pass/issue-5521.rs
src/test/run-pass/issue-7178.rs
src/test/run-pass/issue-7899.rs
src/test/run-pass/issue-8044.rs
src/test/run-pass/issue-8259.rs
src/test/run-pass/issue-9906.rs
src/test/run-pass/issue-9968.rs
src/test/run-pass/lang-item-public.rs
src/test/run-pass/linkage-visibility.rs
src/test/run-pass/logging-enabled.rs
src/test/run-pass/priv-impl-prim-ty.rs
src/test/run-pass/reexport-should-still-link.rs
src/test/run-pass/rust-log-filter.rs
src/test/run-pass/sepcomp-extern.rs
src/test/run-pass/static-function-pointer-xc.rs
src/test/run-pass/typeid-intrinsic.rs
src/test/run-pass/unboxed-closures-cross-crate.rs
src/test/run-pass/weak-lang-item.rs
src/test/run-pass/xcrate-trait-lifetime-param.rs

index cf1953005ba44c241cecd2af2db5dbc0f0480971..fa5722ae6a31ba51392d1f986b1dc866c6b06321 100644 (file)
@@ -12,5 +12,5 @@
 
 #![crate_type = "dylib"]
 
-extern crate "issue-12133-rlib" as a;
-extern crate "issue-12133-dylib" as b;
+extern crate issue_12133_rlib as a;
+extern crate issue_12133_dylib as b;
index f1f16af6f0e3f5adea1260ff025c0b696df66382..c0539aa1b6e20c2f41f1319d78eb37e5246df36e 100644 (file)
@@ -12,5 +12,5 @@
 
 #![crate_type = "rlib"]
 
-#[macro_use] #[no_link] extern crate "issue-13560-1" as t1;
-#[macro_use] extern crate "issue-13560-2" as t2;
+#[macro_use] #[no_link] extern crate issue_13560_1 as t1;
+#[macro_use] extern crate issue_13560_2 as t2;
index da47115e2b3f4e53a62c743669636c3ec05d06ed..554170bc130377b51268fdbc3ee2098ad36de73e 100644 (file)
@@ -8,6 +8,6 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-extern crate "issue-13620-1" as crate1;
+extern crate issue_13620_1 as crate1;
 
 pub static FOO2: crate1::Foo = crate1::FOO;
index 8294d2b4594cfb00ebce192ca8d5513de99d01c1..bb51417528aef724fb5fcf913109218820046203 100644 (file)
@@ -8,6 +8,6 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-extern crate "issue-13872-1" as foo;
+extern crate issue_13872_1 as foo;
 
 pub use foo::A::B;
index 827a9f18f4892a393002759dfa16ad2279e854b6..e20618f1ec076d2aab145666b1e30ef905990e48 100644 (file)
@@ -8,7 +8,7 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-extern crate "issue-13872-2" as bar;
+extern crate issue_13872_2 as bar;
 
 use bar::B;
 
index 27befee6f07f5cea2b7efbf4722460668c1cc7eb..57a708542dec32cf106cec99848b511c97be2103 100644 (file)
@@ -8,8 +8,6 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-#![crate_name="static-function-pointer-aux"]
-
 pub fn f(x: int) -> int { -x }
 
 pub static F: fn(int) -> int = f;
index 7424c21be3da0c6b05fd5f6b4091951002dc68c7..a11cff147abff88c9f9275ed3b11daf7d473dd2a 100644 (file)
@@ -8,8 +8,6 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-#![crate_name="trait_default_method_xc_aux"]
-
 pub struct Something { pub x: int }
 
 pub trait A {
index 808deea226bfc170909570c51d7f825ba83e28e5..6b7b9c8914955ca52233e9779884e0f80a8beae5 100644 (file)
@@ -10,6 +10,6 @@
 
 // error-pattern:can't find crate for `extra`
 
-extern crate "fake-crate" as extra;
+extern crate fake_crate as extra;
 
 fn main() { }
index 42df43934a89cd19499ccbea68bf528b32f3f4a8..708d56442fe82b8fa15327814eff464547a34544 100644 (file)
@@ -17,4 +17,4 @@
 #![no_std]
 
 extern crate core;
-extern crate "weak-lang-items" as other;
+extern crate weak_lang_items;
index 30a70fe0b374703633a9a4bd9c2cd25701b27a92..2e39c6690efa684d4ebf1cc79e90a8ab5168296a 100644 (file)
 
 // compile-flags:-g
 // gdb-command:run
-// gdb-command:whatis 'basic-types-globals-metadata::B'
+// gdb-command:whatis 'basic_types_globals_metadata::B'
 // gdb-check:type = bool
-// gdb-command:whatis 'basic-types-globals-metadata::I'
+// gdb-command:whatis 'basic_types_globals_metadata::I'
 // gdb-check:type = isize
-// gdb-command:whatis 'basic-types-globals-metadata::C'
+// gdb-command:whatis 'basic_types_globals_metadata::C'
 // gdb-check:type = char
-// gdb-command:whatis 'basic-types-globals-metadata::I8'
+// gdb-command:whatis 'basic_types_globals_metadata::I8'
 // gdb-check:type = i8
-// gdb-command:whatis 'basic-types-globals-metadata::I16'
+// gdb-command:whatis 'basic_types_globals_metadata::I16'
 // gdb-check:type = i16
-// gdb-command:whatis 'basic-types-globals-metadata::I32'
+// gdb-command:whatis 'basic_types_globals_metadata::I32'
 // gdb-check:type = i32
-// gdb-command:whatis 'basic-types-globals-metadata::I64'
+// gdb-command:whatis 'basic_types_globals_metadata::I64'
 // gdb-check:type = i64
-// gdb-command:whatis 'basic-types-globals-metadata::U'
+// gdb-command:whatis 'basic_types_globals_metadata::U'
 // gdb-check:type = usize
-// gdb-command:whatis 'basic-types-globals-metadata::U8'
+// gdb-command:whatis 'basic_types_globals_metadata::U8'
 // gdb-check:type = u8
-// gdb-command:whatis 'basic-types-globals-metadata::U16'
+// gdb-command:whatis 'basic_types_globals_metadata::U16'
 // gdb-check:type = u16
-// gdb-command:whatis 'basic-types-globals-metadata::U32'
+// gdb-command:whatis 'basic_types_globals_metadata::U32'
 // gdb-check:type = u32
-// gdb-command:whatis 'basic-types-globals-metadata::U64'
+// gdb-command:whatis 'basic_types_globals_metadata::U64'
 // gdb-check:type = u64
-// gdb-command:whatis 'basic-types-globals-metadata::F32'
+// gdb-command:whatis 'basic_types_globals_metadata::F32'
 // gdb-check:type = f32
-// gdb-command:whatis 'basic-types-globals-metadata::F64'
+// gdb-command:whatis 'basic_types_globals_metadata::F64'
 // gdb-check:type = f64
 // gdb-command:continue
 
index cb89879481bcdc4b5e844581d3aa15ce5148cce8..1b83389b29f71c9c774e9de6dc0376a619feea3c 100644 (file)
 
 // compile-flags:-g
 // gdb-command:run
-// gdb-command:print 'basic-types-globals::B'
+// gdb-command:print 'basic_types_globals::B'
 // gdb-check:$1 = false
-// gdb-command:print 'basic-types-globals::I'
+// gdb-command:print 'basic_types_globals::I'
 // gdb-check:$2 = -1
-// gdb-command:print 'basic-types-globals::C'
+// gdb-command:print 'basic_types_globals::C'
 // gdb-check:$3 = 97
-// gdb-command:print/d 'basic-types-globals::I8'
+// gdb-command:print/d 'basic_types_globals::I8'
 // gdb-check:$4 = 68
-// gdb-command:print 'basic-types-globals::I16'
+// gdb-command:print 'basic_types_globals::I16'
 // gdb-check:$5 = -16
-// gdb-command:print 'basic-types-globals::I32'
+// gdb-command:print 'basic_types_globals::I32'
 // gdb-check:$6 = -32
-// gdb-command:print 'basic-types-globals::I64'
+// gdb-command:print 'basic_types_globals::I64'
 // gdb-check:$7 = -64
-// gdb-command:print 'basic-types-globals::U'
+// gdb-command:print 'basic_types_globals::U'
 // gdb-check:$8 = 1
-// gdb-command:print/d 'basic-types-globals::U8'
+// gdb-command:print/d 'basic_types_globals::U8'
 // gdb-check:$9 = 100
-// gdb-command:print 'basic-types-globals::U16'
+// gdb-command:print 'basic_types_globals::U16'
 // gdb-check:$10 = 16
-// gdb-command:print 'basic-types-globals::U32'
+// gdb-command:print 'basic_types_globals::U32'
 // gdb-check:$11 = 32
-// gdb-command:print 'basic-types-globals::U64'
+// gdb-command:print 'basic_types_globals::U64'
 // gdb-check:$12 = 64
-// gdb-command:print 'basic-types-globals::F32'
+// gdb-command:print 'basic_types_globals::F32'
 // gdb-check:$13 = 2.5
-// gdb-command:print 'basic-types-globals::F64'
+// gdb-command:print 'basic_types_globals::F64'
 // gdb-check:$14 = 3.5
 // gdb-command:continue
 
index 7f82878e080ce1c6fe4d0faff181596d4f2e0eab..5226f7e0f615edefc0cadee1b084df87ee520d5d 100644 (file)
 // gdb-command:run
 
 // Check initializers
-// gdb-command:print 'basic-types-mut-globals::B'
+// gdb-command:print 'basic_types_mut_globals::B'
 // gdb-check:$1 = false
-// gdb-command:print 'basic-types-mut-globals::I'
+// gdb-command:print 'basic_types_mut_globals::I'
 // gdb-check:$2 = -1
-// gdb-command:print 'basic-types-mut-globals::C'
+// gdb-command:print 'basic_types_mut_globals::C'
 // gdb-check:$3 = 97
-// gdb-command:print/d 'basic-types-mut-globals::I8'
+// gdb-command:print/d 'basic_types_mut_globals::I8'
 // gdb-check:$4 = 68
-// gdb-command:print 'basic-types-mut-globals::I16'
+// gdb-command:print 'basic_types_mut_globals::I16'
 // gdb-check:$5 = -16
-// gdb-command:print 'basic-types-mut-globals::I32'
+// gdb-command:print 'basic_types_mut_globals::I32'
 // gdb-check:$6 = -32
-// gdb-command:print 'basic-types-mut-globals::I64'
+// gdb-command:print 'basic_types_mut_globals::I64'
 // gdb-check:$7 = -64
-// gdb-command:print 'basic-types-mut-globals::U'
+// gdb-command:print 'basic_types_mut_globals::U'
 // gdb-check:$8 = 1
-// gdb-command:print/d 'basic-types-mut-globals::U8'
+// gdb-command:print/d 'basic_types_mut_globals::U8'
 // gdb-check:$9 = 100
-// gdb-command:print 'basic-types-mut-globals::U16'
+// gdb-command:print 'basic_types_mut_globals::U16'
 // gdb-check:$10 = 16
-// gdb-command:print 'basic-types-mut-globals::U32'
+// gdb-command:print 'basic_types_mut_globals::U32'
 // gdb-check:$11 = 32
-// gdb-command:print 'basic-types-mut-globals::U64'
+// gdb-command:print 'basic_types_mut_globals::U64'
 // gdb-check:$12 = 64
-// gdb-command:print 'basic-types-mut-globals::F32'
+// gdb-command:print 'basic_types_mut_globals::F32'
 // gdb-check:$13 = 2.5
-// gdb-command:print 'basic-types-mut-globals::F64'
+// gdb-command:print 'basic_types_mut_globals::F64'
 // gdb-check:$14 = 3.5
 // gdb-command:continue
 
 // Check new values
-// gdb-command:print 'basic-types-mut-globals'::B
+// gdb-command:print 'basic_types_mut_globals'::B
 // gdb-check:$15 = true
-// gdb-command:print 'basic-types-mut-globals'::I
+// gdb-command:print 'basic_types_mut_globals'::I
 // gdb-check:$16 = 2
-// gdb-command:print 'basic-types-mut-globals'::C
+// gdb-command:print 'basic_types_mut_globals'::C
 // gdb-check:$17 = 102
-// gdb-command:print/d 'basic-types-mut-globals'::I8
+// gdb-command:print/d 'basic_types_mut_globals'::I8
 // gdb-check:$18 = 78
-// gdb-command:print 'basic-types-mut-globals'::I16
+// gdb-command:print 'basic_types_mut_globals'::I16
 // gdb-check:$19 = -26
-// gdb-command:print 'basic-types-mut-globals'::I32
+// gdb-command:print 'basic_types_mut_globals'::I32
 // gdb-check:$20 = -12
-// gdb-command:print 'basic-types-mut-globals'::I64
+// gdb-command:print 'basic_types_mut_globals'::I64
 // gdb-check:$21 = -54
-// gdb-command:print 'basic-types-mut-globals'::U
+// gdb-command:print 'basic_types_mut_globals'::U
 // gdb-check:$22 = 5
-// gdb-command:print/d 'basic-types-mut-globals'::U8
+// gdb-command:print/d 'basic_types_mut_globals'::U8
 // gdb-check:$23 = 20
-// gdb-command:print 'basic-types-mut-globals'::U16
+// gdb-command:print 'basic_types_mut_globals'::U16
 // gdb-check:$24 = 32
-// gdb-command:print 'basic-types-mut-globals'::U32
+// gdb-command:print 'basic_types_mut_globals'::U32
 // gdb-check:$25 = 16
-// gdb-command:print 'basic-types-mut-globals'::U64
+// gdb-command:print 'basic_types_mut_globals'::U64
 // gdb-check:$26 = 128
-// gdb-command:print 'basic-types-mut-globals'::F32
+// gdb-command:print 'basic_types_mut_globals'::F32
 // gdb-check:$27 = 5.75
-// gdb-command:print 'basic-types-mut-globals'::F64
+// gdb-command:print 'basic_types_mut_globals'::F64
 // gdb-check:$28 = 9.25
 
 #![allow(unused_variables)]
index 766105881cedfca70391de16cf81e9011323f3a1..7a285d90b9d6a1d053d79ec3885ba30c4d73e800 100644 (file)
 
 // === GDB TESTS ===================================================================================
 
-// gdb-command:print 'c-style-enum::SINGLE_VARIANT'
+// gdb-command:print 'c_style_enum::SINGLE_VARIANT'
 // gdb-check:$1 = TheOnlyVariant
 
-// gdb-command:print 'c-style-enum::AUTO_ONE'
+// gdb-command:print 'c_style_enum::AUTO_ONE'
 // gdb-check:$2 = One
 
-// gdb-command:print 'c-style-enum::AUTO_TWO'
+// gdb-command:print 'c_style_enum::AUTO_TWO'
 // gdb-check:$3 = One
 
-// gdb-command:print 'c-style-enum::AUTO_THREE'
+// gdb-command:print 'c_style_enum::AUTO_THREE'
 // gdb-check:$4 = One
 
-// gdb-command:print 'c-style-enum::MANUAL_ONE'
+// gdb-command:print 'c_style_enum::MANUAL_ONE'
 // gdb-check:$5 = OneHundred
 
-// gdb-command:print 'c-style-enum::MANUAL_TWO'
+// gdb-command:print 'c_style_enum::MANUAL_TWO'
 // gdb-check:$6 = OneHundred
 
-// gdb-command:print 'c-style-enum::MANUAL_THREE'
+// gdb-command:print 'c_style_enum::MANUAL_THREE'
 // gdb-check:$7 = OneHundred
 
 // gdb-command:run
 // gdb-command:print single_variant
 // gdb-check:$14 = TheOnlyVariant
 
-// gdb-command:print 'c-style-enum::AUTO_TWO'
+// gdb-command:print 'c_style_enum::AUTO_TWO'
 // gdb-check:$15 = Two
 
-// gdb-command:print 'c-style-enum::AUTO_THREE'
+// gdb-command:print 'c_style_enum::AUTO_THREE'
 // gdb-check:$16 = Three
 
-// gdb-command:print 'c-style-enum::MANUAL_TWO'
+// gdb-command:print 'c_style_enum::MANUAL_TWO'
 // gdb-check:$17 = OneThousand
 
-// gdb-command:print 'c-style-enum::MANUAL_THREE'
+// gdb-command:print 'c_style_enum::MANUAL_THREE'
 // gdb-check:$18 = OneMillion
 
 
index 15982f309c6bbf9c96e93f93edeac81e4516ad6a..a459badfa8a3c2f1ebbeda73ad5226ffbe2a5ac6 100644 (file)
@@ -38,7 +38,7 @@
 // lldb-check:[...]$2 = AGenericStruct<f64, i32> { key: 4.5, value: 5 }
 
 // lldb-command:print float_int_float
-// lldb-check:[...]$3 = AGenericStruct<f64, generic-struct::AGenericStruct<i32, f64>> { key: 6.5, value: AGenericStruct<i32, f64> { key: 7, value: 8.5 } }
+// lldb-check:[...]$3 = AGenericStruct<f64, generic_struct::AGenericStruct<i32, f64>> { key: 6.5, value: AGenericStruct<i32, f64> { key: 7, value: 8.5 } }
 
 
 #![omit_gdb_pretty_printer_section]
index c1ec837a4b8188383ee8d17189fcb77750abbbc8..583e6be331655ddb22744ca809df16719bf9a821 100644 (file)
@@ -16,7 +16,7 @@
 
 // gdb-command:run
 
-// gdb-command:print 'lexical-scopes-in-block-expression::MUT_INT'
+// gdb-command:print 'lexical_scopes_in_block_expression::MUT_INT'
 // gdb-check:$1 = 0
 
 // STRUCT EXPRESSION
@@ -28,7 +28,7 @@
 
 // gdb-command:print val
 // gdb-check:$4 = 11
-// gdb-command:print 'lexical-scopes-in-block-expression::MUT_INT'
+// gdb-command:print 'lexical_scopes_in_block_expression::MUT_INT'
 // gdb-check:$5 = 1
 // gdb-command:print ten
 // gdb-check:$6 = 10
@@ -49,7 +49,7 @@
 
 // gdb-command:print val
 // gdb-check:$11 = 12
-// gdb-command:print 'lexical-scopes-in-block-expression::MUT_INT'
+// gdb-command:print 'lexical_scopes_in_block_expression::MUT_INT'
 // gdb-check:$12 = 2
 // gdb-command:print ten
 // gdb-check:$13 = 10
@@ -70,7 +70,7 @@
 
 // gdb-command:print val
 // gdb-check:$18 = 13
-// gdb-command:print 'lexical-scopes-in-block-expression::MUT_INT'
+// gdb-command:print 'lexical_scopes_in_block_expression::MUT_INT'
 // gdb-check:$19 = 3
 // gdb-command:print ten
 // gdb-check:$20 = 10
@@ -91,7 +91,7 @@
 
 // gdb-command:print val
 // gdb-check:$25 = 14
-// gdb-command:print 'lexical-scopes-in-block-expression::MUT_INT'
+// gdb-command:print 'lexical_scopes_in_block_expression::MUT_INT'
 // gdb-check:$26 = 4
 // gdb-command:print ten
 // gdb-check:$27 = 10
 
 // gdb-command:print val
 // gdb-check:$32 = 15
-// gdb-command:print 'lexical-scopes-in-block-expression::MUT_INT'
+// gdb-command:print 'lexical_scopes_in_block_expression::MUT_INT'
 // gdb-check:$33 = 5
 // gdb-command:print ten
 // gdb-check:$34 = 10
 
 // gdb-command:print val
 // gdb-check:$39 = 16
-// gdb-command:print 'lexical-scopes-in-block-expression::MUT_INT'
+// gdb-command:print 'lexical_scopes_in_block_expression::MUT_INT'
 // gdb-check:$40 = 6
 // gdb-command:print ten
 // gdb-check:$41 = 10
 
 // gdb-command:print val
 // gdb-check:$46 = 17
-// gdb-command:print 'lexical-scopes-in-block-expression::MUT_INT'
+// gdb-command:print 'lexical_scopes_in_block_expression::MUT_INT'
 // gdb-check:$47 = 7
 // gdb-command:print ten
 // gdb-check:$48 = 10
 
 // gdb-command:print val
 // gdb-check:$53 = 18
-// gdb-command:print 'lexical-scopes-in-block-expression::MUT_INT'
+// gdb-command:print 'lexical_scopes_in_block_expression::MUT_INT'
 // gdb-check:$54 = 8
 // gdb-command:print ten
 // gdb-check:$55 = 10
index eee3cf55052a346a7e8b455bb21447e6503954e8..36007c1093297e14ba015b3eb5f3047cb8659ca0 100644 (file)
 
 // === GDB TESTS ===================================================================================
 
-// gdb-command:print 'simple-struct::NO_PADDING_16'
+// gdb-command:print 'simple_struct::NO_PADDING_16'
 // gdb-check:$1 = {x = 1000, y = -1001}
 
-// gdb-command:print 'simple-struct::NO_PADDING_32'
+// gdb-command:print 'simple_struct::NO_PADDING_32'
 // gdb-check:$2 = {x = 1, y = 2, z = 3}
 
-// gdb-command:print 'simple-struct::NO_PADDING_64'
+// gdb-command:print 'simple_struct::NO_PADDING_64'
 // gdb-check:$3 = {x = 4, y = 5, z = 6}
 
-// gdb-command:print 'simple-struct::NO_PADDING_163264'
+// gdb-command:print 'simple_struct::NO_PADDING_163264'
 // gdb-check:$4 = {a = 7, b = 8, c = 9, d = 10}
 
-// gdb-command:print 'simple-struct::INTERNAL_PADDING'
+// gdb-command:print 'simple_struct::INTERNAL_PADDING'
 // gdb-check:$5 = {x = 11, y = 12}
 
-// gdb-command:print 'simple-struct::PADDING_AT_END'
+// gdb-command:print 'simple_struct::PADDING_AT_END'
 // gdb-check:$6 = {x = 13, y = 14}
 
 // gdb-command:run
 // gdb-command:print padding_at_end
 // gdb-check:$12 = {x = -10014, y = 10015}
 
-// gdb-command:print 'simple-struct::NO_PADDING_16'
+// gdb-command:print 'simple_struct::NO_PADDING_16'
 // gdb-check:$13 = {x = 100, y = -101}
 
-// gdb-command:print 'simple-struct::NO_PADDING_32'
+// gdb-command:print 'simple_struct::NO_PADDING_32'
 // gdb-check:$14 = {x = -15, y = -16, z = 17}
 
-// gdb-command:print 'simple-struct::NO_PADDING_64'
+// gdb-command:print 'simple_struct::NO_PADDING_64'
 // gdb-check:$15 = {x = -18, y = 19, z = 20}
 
-// gdb-command:print 'simple-struct::NO_PADDING_163264'
+// gdb-command:print 'simple_struct::NO_PADDING_163264'
 // gdb-check:$16 = {a = -21, b = 22, c = 23, d = 24}
 
-// gdb-command:print 'simple-struct::INTERNAL_PADDING'
+// gdb-command:print 'simple_struct::INTERNAL_PADDING'
 // gdb-check:$17 = {x = 25, y = -26}
 
-// gdb-command:print 'simple-struct::PADDING_AT_END'
+// gdb-command:print 'simple_struct::PADDING_AT_END'
 // gdb-check:$18 = {x = -27, y = 28}
 
 // gdb-command:continue
index 75db47af2463fefca9a652929ab33f0fe61f06be..3c3a85a34c7cf29c2ab58692f2807764f48af297 100644 (file)
 
 // === GDB TESTS ===================================================================================
 
-// gdb-command:print/d 'simple-tuple::NO_PADDING_8'
+// gdb-command:print/d 'simple_tuple::NO_PADDING_8'
 // gdb-check:$1 = {-50, 50}
-// gdb-command:print 'simple-tuple::NO_PADDING_16'
+// gdb-command:print 'simple_tuple::NO_PADDING_16'
 // gdb-check:$2 = {-1, 2, 3}
-// gdb-command:print 'simple-tuple::NO_PADDING_32'
+// gdb-command:print 'simple_tuple::NO_PADDING_32'
 // gdb-check:$3 = {4, 5, 6}
-// gdb-command:print 'simple-tuple::NO_PADDING_64'
+// gdb-command:print 'simple_tuple::NO_PADDING_64'
 // gdb-check:$4 = {7, 8, 9}
 
-// gdb-command:print 'simple-tuple::INTERNAL_PADDING_1'
+// gdb-command:print 'simple_tuple::INTERNAL_PADDING_1'
 // gdb-check:$5 = {10, 11}
-// gdb-command:print 'simple-tuple::INTERNAL_PADDING_2'
+// gdb-command:print 'simple_tuple::INTERNAL_PADDING_2'
 // gdb-check:$6 = {12, 13, 14, 15}
 
-// gdb-command:print 'simple-tuple::PADDING_AT_END'
+// gdb-command:print 'simple_tuple::PADDING_AT_END'
 // gdb-check:$7 = {16, 17}
 
 // gdb-command:run
 // gdb-command:print paddingAtEnd
 // gdb-check:$14 = {15, 16}
 
-// gdb-command:print/d 'simple-tuple::NO_PADDING_8'
+// gdb-command:print/d 'simple_tuple::NO_PADDING_8'
 // gdb-check:$15 = {-127, 127}
-// gdb-command:print 'simple-tuple::NO_PADDING_16'
+// gdb-command:print 'simple_tuple::NO_PADDING_16'
 // gdb-check:$16 = {-10, 10, 9}
-// gdb-command:print 'simple-tuple::NO_PADDING_32'
+// gdb-command:print 'simple_tuple::NO_PADDING_32'
 // gdb-check:$17 = {14, 15, 16}
-// gdb-command:print 'simple-tuple::NO_PADDING_64'
+// gdb-command:print 'simple_tuple::NO_PADDING_64'
 // gdb-check:$18 = {17, 18, 19}
 
-// gdb-command:print 'simple-tuple::INTERNAL_PADDING_1'
+// gdb-command:print 'simple_tuple::INTERNAL_PADDING_1'
 // gdb-check:$19 = {110, 111}
-// gdb-command:print 'simple-tuple::INTERNAL_PADDING_2'
+// gdb-command:print 'simple_tuple::INTERNAL_PADDING_2'
 // gdb-check:$20 = {112, 113, 114, 115}
 
-// gdb-command:print 'simple-tuple::PADDING_AT_END'
+// gdb-command:print 'simple_tuple::PADDING_AT_END'
 // gdb-check:$21 = {116, 117}
 
 
index d4cbd255e34c2861bcc35fee75c15dc6134a9038..e7ee9e2ccf8188ca431ba29c029955cc6fb81351 100644 (file)
 // gdb-check:type = struct Struct1
 
 // gdb-command:whatis generic_struct1
-// gdb-check:type = struct GenericStruct<type-names::Mod1::Struct2, type-names::Mod1::Mod2::Struct3>
+// gdb-check:type = struct GenericStruct<type_names::Mod1::Struct2, type_names::Mod1::Mod2::Struct3>
 
 // gdb-command:whatis generic_struct2
-// gdb-check:type = struct GenericStruct<type-names::Struct1, extern "fastcall" fn(isize) -> usize>
+// gdb-check:type = struct GenericStruct<type_names::Struct1, extern "fastcall" fn(isize) -> usize>
 
 // gdb-command:whatis mod_struct
 // gdb-check:type = struct Struct2
 // gdb-check:type = union Enum2
 
 // gdb-command:whatis generic_enum_1
-// gdb-check:type = union Enum3<type-names::Mod1::Struct2>
+// gdb-check:type = union Enum3<type_names::Mod1::Struct2>
 
 // gdb-command:whatis generic_enum_2
-// gdb-check:type = union Enum3<type-names::Struct1>
+// gdb-check:type = union Enum3<type_names::Struct1>
 
 
 // TUPLES
 // gdb-command:whatis tuple1
-// gdb-check:type = struct (u32, type-names::Struct1, type-names::Mod1::Mod2::Enum3<type-names::Mod1::Struct2>)
+// gdb-check:type = struct (u32, type_names::Struct1, type_names::Mod1::Mod2::Enum3<type_names::Mod1::Struct2>)
 
 // gdb-command:whatis tuple2
-// gdb-check:type = struct ((type-names::Struct1, type-names::Mod1::Mod2::Struct3), type-names::Mod1::Enum2, char)
+// gdb-check:type = struct ((type_names::Struct1, type_names::Mod1::Mod2::Struct3), type_names::Mod1::Enum2, char)
 
 
 // BOX
 // gdb-check:type = struct (Box<f32>, i32)
 
 // gdb-command:whatis box2
-// gdb-check:type = struct (Box<type-names::Mod1::Mod2::Enum3<f32>>, i32)
+// gdb-check:type = struct (Box<type_names::Mod1::Mod2::Enum3<f32>>, i32)
 
 
 // REFERENCES
 // gdb-command:whatis ref1
-// gdb-check:type = struct (&type-names::Struct1, i32)
+// gdb-check:type = struct (&type_names::Struct1, i32)
 
 // gdb-command:whatis ref2
-// gdb-check:type = struct (&type-names::GenericStruct<char, type-names::Struct1>, i32)
+// gdb-check:type = struct (&type_names::GenericStruct<char, type_names::Struct1>, i32)
 
 // gdb-command:whatis mut_ref1
-// gdb-check:type = struct (&mut type-names::Struct1, i32)
+// gdb-check:type = struct (&mut type_names::Struct1, i32)
 
 // gdb-command:whatis mut_ref2
-// gdb-check:type = struct (&mut type-names::GenericStruct<type-names::Mod1::Enum2, f64>, i32)
+// gdb-check:type = struct (&mut type_names::GenericStruct<type_names::Mod1::Enum2, f64>, i32)
 
 
 // RAW POINTERS
 // gdb-command:whatis mut_ptr1
-// gdb-check:type = struct (*mut type-names::Struct1, isize)
+// gdb-check:type = struct (*mut type_names::Struct1, isize)
 
 // gdb-command:whatis mut_ptr2
 // gdb-check:type = struct (*mut isize, isize)
 
 // gdb-command:whatis mut_ptr3
-// gdb-check:type = struct (*mut type-names::Mod1::Mod2::Enum3<type-names::Struct1>, isize)
+// gdb-check:type = struct (*mut type_names::Mod1::Mod2::Enum3<type_names::Struct1>, isize)
 
 // gdb-command:whatis const_ptr1
-// gdb-check:type = struct (*const type-names::Struct1, isize)
+// gdb-check:type = struct (*const type_names::Struct1, isize)
 
 // gdb-command:whatis const_ptr2
 // gdb-check:type = struct (*const isize, isize)
 
 // gdb-command:whatis const_ptr3
-// gdb-check:type = struct (*const type-names::Mod1::Mod2::Enum3<type-names::Struct1>, isize)
+// gdb-check:type = struct (*const type_names::Mod1::Mod2::Enum3<type_names::Struct1>, isize)
 
 
 // VECTORS
 // gdb-command:whatis fixed_size_vec1
-// gdb-check:type = struct ([type-names::Struct1; 3], i16)
+// gdb-check:type = struct ([type_names::Struct1; 3], i16)
 
 // gdb-command:whatis fixed_size_vec2
 // gdb-check:type = struct ([usize; 3], i16)
 // gdb-check:type = struct &[usize]
 
 // gdb-command:whatis slice2
-// gdb-check:type = struct &[type-names::Mod1::Enum2]
+// gdb-check:type = struct &[type_names::Mod1::Enum2]
 
 
 // TRAITS
 // gdb-check:type = struct &mut Trait1
 
 // gdb-command:whatis generic_box_trait
-// gdb-check:type = struct Box<Trait2<i32, type-names::Mod1::Struct2>>
+// gdb-check:type = struct Box<Trait2<i32, type_names::Mod1::Struct2>>
 
 // gdb-command:whatis generic_ref_trait
-// gdb-check:type = struct &Trait2<type-names::Struct1, type-names::Struct1>
+// gdb-check:type = struct &Trait2<type_names::Struct1, type_names::Struct1>
 
 // gdb-command:whatis generic_mut_ref_trait
-// gdb-check:type = struct &mut Trait2<type-names::Mod1::Mod2::Struct3, type-names::GenericStruct<usize, isize>>
+// gdb-check:type = struct &mut Trait2<type_names::Mod1::Mod2::Struct3, type_names::GenericStruct<usize, isize>>
 
 
 // BARE FUNCTIONS
 // gdb-command:whatis rust_fn
-// gdb-check:type = struct (fn(core::option::Option<isize>, core::option::Option<&type-names::Mod1::Struct2>), usize)
+// gdb-check:type = struct (fn(core::option::Option<isize>, core::option::Option<&type_names::Mod1::Struct2>), usize)
 
 // gdb-command:whatis extern_c_fn
 // gdb-check:type = struct (extern "C" fn(isize), usize)
 // gdb-check:type = struct (fn(f64) -> usize, usize)
 
 // gdb-command:whatis extern_c_fn_with_return_value
-// gdb-check:type = struct (extern "C" fn() -> type-names::Struct1, usize)
+// gdb-check:type = struct (extern "C" fn() -> type_names::Struct1, usize)
 
 // gdb-command:whatis unsafe_fn_with_return_value
-// gdb-check:type = struct (unsafe fn(type-names::GenericStruct<u16, u8>) -> type-names::Mod1::Struct2, usize)
+// gdb-check:type = struct (unsafe fn(type_names::GenericStruct<u16, u8>) -> type_names::Mod1::Struct2, usize)
 
 // gdb-command:whatis extern_stdcall_fn_with_return_value
 // gdb-check:type = struct (extern "stdcall" fn(Box<isize>) -> usize, usize)
 // gdb-check:type = struct (fn(isize) -> isize, usize)
 
 // gdb-command:whatis generic_function_struct3
-// gdb-check:type = struct (fn(type-names::Mod1::Mod2::Struct3) -> type-names::Mod1::Mod2::Struct3, usize)
+// gdb-check:type = struct (fn(type_names::Mod1::Mod2::Struct3) -> type_names::Mod1::Mod2::Struct3, usize)
 
 // gdb-command:whatis variadic_function
 // gdb-check:type = struct (unsafe extern "C" fn(*const u8, ...) -> isize, usize)
index 3ceb3946f3c0d3289af1ef99549b1e9ea231bbdb..3759082db2caabb0ca7b55325c80ccf0d0533a87 100644 (file)
@@ -49,9 +49,9 @@
 // gdb-command:print padded_struct.data_ptr[1]
 // gdb-check:$13 = {x = 13, y = 14, z = 15}
 
-// gdb-command:print 'vec-slices::MUT_VECT_SLICE'.length
+// gdb-command:print 'vec_slices::MUT_VECT_SLICE'.length
 // gdb-check:$14 = 2
-// gdb-command:print *((int64_t[2]*)('vec-slices::MUT_VECT_SLICE'.data_ptr))
+// gdb-command:print *((int64_t[2]*)('vec_slices::MUT_VECT_SLICE'.data_ptr))
 // gdb-check:$15 = {64, 65}
 
 
index 9e5fe4ab8a986e8b8b3068afb7192677ee6a6ee4..f1f18115825caf6b7d8130870f8c423acb5a0ffb 100644 (file)
@@ -9,11 +9,6 @@
 // except according to those terms.
 
 
-extern crate
-    "foo"suffix //~ ERROR extern crate name with a suffix is illegal
-                //~^ WARNING: obsolete syntax
-     as foo;
-
 extern
     "C"suffix //~ ERROR ABI spec with a suffix is illegal
     fn foo() {}
index 2172ed888b1423c69ce20b32f0e8fff483660596..8b69c68279dca0a1f36a95e88562041036395ea0 100644 (file)
@@ -12,4 +12,4 @@ all:
                | grep "invalid character.*in crate name:"
        cp foo.rs $(TMPDIR)/-foo.rs
        $(RUSTC) $(TMPDIR)/-foo.rs 2>&1 \
-               | grep "soon cannot contain hyphens:"
+               | grep 'crate names cannot start with a `-`'
index cd79a95dace7afcef69ac94f66e180f2218617d6..1541e809b6178d24a77c953d764e784c1dfcf023 100644 (file)
@@ -16,7 +16,7 @@
 // Regression test for issue #13560, the test itself is all in the dependent
 // libraries. The fail which previously failed to compile is the one numbered 3.
 
-extern crate "issue-13560-2" as t2;
-extern crate "issue-13560-3" as t3;
+extern crate issue_13560_2 as t2;
+extern crate issue_13560_3 as t3;
 
 fn main() {}
index 6306627df0f8d05c27d82c5e87ec321c90e57bdc..e032270e0884d8ba32765010e880deb425c24e50 100644 (file)
@@ -10,7 +10,7 @@
 
 // aux-build:issue-16822.rs
 
-extern crate "issue-16822" as lib;
+extern crate issue_16822 as lib;
 
 use std::cell::RefCell;
 
index 91b24b3b2abac4dc39736842bd4a287d9aa840c3..8367fc110e137c734ddaa5ada7d75fe59614d719 100644 (file)
@@ -10,7 +10,7 @@
 
 // aux-build:issue-18502.rs
 
-extern crate "issue-18502" as fmt;
+extern crate issue_18502 as fmt;
 
 fn main() {
     ::fmt::baz();
index 948192f4fc0754180bbe8215a3d2098041af29c0..b2be87be4cb35397bf57e14443af8120f70537c4 100644 (file)
@@ -13,7 +13,7 @@
 // Test that we are able to reference cross-crate traits that employ
 // associated types.
 
-extern crate "associated-types-cc-lib" as bar;
+extern crate associated_types_cc_lib as bar;
 
 use bar::Bar;
 
index b1d6f96f0f6d45d5de8fb9fd4073a22423cf6872..3b6614c18faa8cf2855bdca36e8f85a38d1f5a3c 100644 (file)
@@ -21,14 +21,14 @@ pub fn g<T>(_: T, _: (), _: ()) { }
 const BAR: () = ();
 struct Data;
 use m::f;
-extern crate "blind-item-mixed-crate-use-item-foo" as foo;
+extern crate blind_item_mixed_crate_use_item_foo as foo;
 
 fn main() {
     const BAR2: () = ();
     struct Data2;
     use m::g;
 
-    extern crate "blind-item-mixed-crate-use-item-foo2" as foo2;
+    extern crate blind_item_mixed_crate_use_item_foo2 as foo2;
 
     f(Data, BAR, foo::X);
     g(Data2, BAR2, foo2::Y);
index c794e45c84522a6e0ae4c432bbb83393488fefde..a108f4dc5687469f54a1879ab6d0ed8f2c8c02d7 100644 (file)
@@ -8,10 +8,10 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-// compile-flags:--crate-name crate-name-attr-used -F unused-attributes
+// compile-flags:--crate-name crate_name_attr_used -F unused-attributes
 
 // pretty-expanded FIXME #23616
 
-#![crate_name = "crate-name-attr-used"]
+#![crate_name = "crate_name_attr_used"]
 
 fn main() {}
index fdaa71d1cfb4c9e0918dce0b714e754f82f22102..53d6f67f119eef142111718147b1c07b73bde5e9 100644 (file)
@@ -12,7 +12,7 @@
 
 // pretty-expanded FIXME #23616
 
-extern crate "issue-10028" as issue10028;
+extern crate issue_10028 as issue10028;
 
 use issue10028::ZeroLengthThingWithDestructor;
 
index f226e25eaa4611b3d7301d16e6381c94037ca5a7..14017ee1789242db25ec2182e5445459a7532f0b 100644 (file)
@@ -12,6 +12,6 @@
 
 // pretty-expanded FIXME #23616
 
-extern crate "issue-11224" as unused;
+extern crate issue_11224 as unused;
 
 pub fn main() {}
index e960558e52c8ca3aaf71ea445e17389717b0f71a..a74fdbe3de472b0112a06f076b90c19b2fd744a8 100644 (file)
@@ -12,7 +12,7 @@
 
 // pretty-expanded FIXME #23616
 
-extern crate "issue-11225-1" as foo;
+extern crate issue_11225_1 as foo;
 
 pub fn main() {
     foo::foo(1);
index 56144edb5c74484563fa65b9c18504a41cfa228b..c6fc5e8b484e03e81edd38d200604f77086e4fd1 100644 (file)
@@ -12,7 +12,7 @@
 
 // pretty-expanded FIXME #23616
 
-extern crate "issue-11225-2" as foo;
+extern crate issue_11225_2 as foo;
 
 pub fn main() {
     foo::foo(1);
index 1fc72fd2cbef6f1f648afd7b6c93dab6a166c810..21ed30683f50fb9d6af2c7d9efb8bc3e142dd841 100644 (file)
@@ -10,7 +10,7 @@
 
 // aux-build:issue-11508.rs
 
-extern crate "issue-11508" as rand;
+extern crate issue_11508 as rand;
 
 use rand::{Closed01, random};
 
index 535fc3669911a6bd02e56fa041411b9a57c403e8..e5d95874be61fda8f16a8b0b2c7c38c9c175b177 100644 (file)
@@ -12,7 +12,7 @@
 
 // pretty-expanded FIXME #23616
 
-extern crate "issue-11529" as a;
+extern crate issue_11529 as a;
 
 fn main() {
     let one = 1;
index 7e5b0c2230141cacb2ebdfe7557a7838ad939bb7..d47bb818c4946641687517a34dd36cadc0362753 100644 (file)
@@ -13,7 +13,7 @@
 
 // pretty-expanded FIXME #23616
 
-extern crate "issue-12133-rlib" as a;
-extern crate "issue-12133-dylib" as b;
+extern crate issue_12133_rlib as a;
+extern crate issue_12133_dylib as b;
 
 fn main() {}
index 76bae09bd49422e8f042b5747832780d46a28fae..580c487af0de9a803ba092b3ad63d32bb3c71e15 100644 (file)
@@ -14,7 +14,7 @@
 
 // pretty-expanded FIXME #23616
 
-extern crate "issue-12133-rlib" as a;
-extern crate "issue-12133-dylib" as b;
+extern crate issue_12133_rlib as a;
+extern crate issue_12133_dylib as b;
 
 fn main() {}
index 514cfeab6af1a64419b78e1019f69921dcec9cb7..79a530785452ac58c1bfa1d0f8694a452aae9594 100644 (file)
@@ -14,6 +14,6 @@
 
 // pretty-expanded FIXME #23616
 
-extern crate "issue-12133-dylib2" as other;
+extern crate issue_12133_dylib2 as other;
 
 fn main() {}
index 8ed8426b8f5da628e619fa56c2997977aac7fda3..4c46831418707bb0c95cda5b6497c23d88d396e3 100644 (file)
@@ -13,7 +13,7 @@
 
 // pretty-expanded FIXME #23616
 
-extern crate "issue-13620-2" as crate2;
+extern crate issue_13620_2 as crate2;
 
 fn main() {
     (crate2::FOO2.foo)();
index 66cf37eb61fc558d236f4dc1a85387dc8aebdac7..e9fb7945d04007215093f75d3e69827273be0c2c 100644 (file)
@@ -14,7 +14,7 @@
 
 // pretty-expanded FIXME #23616
 
-extern crate "issue-13872-3" as other;
+extern crate issue_13872_3 as other;
 
 fn main() {
     other::foo();
index e6425f7cb7a0220d8186d628a38cd4b5770f799e..046d888030f0c4acc929a054a9df1e24d9b23670 100644 (file)
@@ -12,7 +12,7 @@
 
 // pretty-expanded FIXME #23616
 
-extern crate "issue-14421" as bug_lib;
+extern crate issue_14421 as bug_lib;
 
 use bug_lib::B;
 use bug_lib::make;
index d3f1858c36324c6aea7b4c3d34e755d7e0a105db..178a219f5bfc0b03d55f75ba451ab3da7da88409 100644 (file)
@@ -12,7 +12,7 @@
 
 // pretty-expanded FIXME #23616
 
-extern crate "issue-14422" as bug_lib;
+extern crate issue_14422 as bug_lib;
 
 use bug_lib::B;
 use bug_lib::make;
index 6556dba653435e7eb8523ed25f85cedbdc818b82..f1ef57e44b1d5f54c1e1b5a056dcf6e847eaafb2 100644 (file)
@@ -12,7 +12,7 @@
 
 // pretty-expanded FIXME #23616
 
-extern crate "issue-15562" as i;
+extern crate issue_15562 as i;
 
 pub fn main() {
     extern {
index a0d9eeb9e0bfda8ca970cbc6cdc18bc7a14a2ac7..a6b33ca0f13f5783f4399419d5cf0bbcf9a1c518 100644 (file)
@@ -12,7 +12,7 @@
 
 // pretty-expanded FIXME #23616
 
-extern crate "issue-16643" as i;
+extern crate issue_16643 as i;
 
 pub fn main() {
     i::TreeBuilder { h: 3u }.process_token();
index ce1c077b23c57e45680060e87a18e566c17a226e..ca564ecda28ee8d90d9bbe4e6b70c7fa6bb5d420 100644 (file)
@@ -12,7 +12,7 @@
 
 // pretty-expanded FIXME #23616
 
-extern crate "issue-17662" as i;
+extern crate issue_17662 as i;
 
 use std::marker;
 
index 2827ab9293642cebb37b836be19468d26b22e210..c4443e2ddf0d5e4f5044a58a4172ab807cc7a7de 100644 (file)
@@ -14,7 +14,7 @@
 
 #![feature(core)]
 
-extern crate "issue-17718" as other;
+extern crate issue_17718 as other;
 
 use std::sync::atomic::{AtomicUsize, ATOMIC_USIZE_INIT, Ordering};
 
index de6a5be83de38ef438aebcd0d7c123e34fe34bae..fb8158c6ddc600a24fc35582d11098add01e38cb 100644 (file)
@@ -15,7 +15,7 @@
 // aux-build:issue-18501.rs
 // pretty-expanded FIXME #23616
 
-extern crate "issue-18501" as issue;
+extern crate issue_18501 as issue;
 
 fn main() {
     issue::pass_method();
index f284ac90b4e6b0e558954daf822e801e8cb39178..b0b2f068bb74bb1be4f67cd62deee78da9bb132d 100644 (file)
@@ -17,7 +17,7 @@
 // aux-build:issue-18514.rs
 // pretty-expanded FIXME #23616
 
-extern crate "issue-18514" as ice;
+extern crate issue_18514 as ice;
 use ice::{Tr, St};
 
 fn main() {
index 81c717f8174877555de3e2dbe9ef88b7e008b115..277ad3260c514845eb81e830856e5579b23ca5f3 100644 (file)
@@ -16,7 +16,7 @@
 #![feature(unboxed_closures)]
 
 // aux-build:issue-18711.rs
-extern crate "issue-18711" as issue;
+extern crate issue_18711 as issue;
 
 fn main() {
     (|| issue::inner(()))();
index f72e7fbe30a35a14dd74df9a73b9952b805483cd..16e6c99f0e31d3d187511d9b93b0569ab98bdb4a 100644 (file)
@@ -21,6 +21,6 @@ pub fn name() -> &'static str {
 }
 
 fn main() {
-    assert_eq!(module_path!(), "issue-18859");
-    assert_eq!(foo::bar::baz::name(), "issue-18859::foo::bar::baz");
+    assert_eq!(module_path!(), "issue_18859");
+    assert_eq!(foo::bar::baz::name(), "issue_18859::foo::bar::baz");
 }
index ba2aaee02894d833fe74d945c064c96833553cfe..e553c244c865313d5e62f3826a32ef5bc4b48d6e 100644 (file)
@@ -12,7 +12,7 @@
 
 // pretty-expanded FIXME #23616
 
-extern crate "issue-19340-1" as lib;
+extern crate issue_19340_1 as lib;
 
 use lib::Homura;
 
index a9d04167a41db9eba4951e87a7fbd5d7d9372cf5..45b5f9ca704001e968cbd5bbeaf9aa30b567e56e 100644 (file)
@@ -12,5 +12,5 @@
 
 // pretty-expanded FIXME #23616
 
-extern crate "issue-4545" as somelib;
+extern crate issue_4545 as somelib;
 pub fn main() { somelib::mk::<int>(); }
index e24b69bb0de1ff092140e1cc3cca74563e8b1498..5981a0148a0af39f84c3ffb8717f10d5b4cd82f1 100644 (file)
@@ -12,6 +12,6 @@
 
 // pretty-expanded FIXME #23616
 
-extern crate "issue-5518" as other;
+extern crate issue_5518 as other;
 
 fn main() {}
index c9196fc66b032f5bbfc8e2bed97a57f4e44568a5..4ad729f1bc60a114b34bcb591d9a33d321582223 100644 (file)
@@ -13,7 +13,7 @@
 
 // pretty-expanded FIXME #23616
 
-extern crate "issue-5521" as foo;
+extern crate issue_5521 as foo;
 
 fn bar(a: foo::map) {
     if false {
index 3180927f74d88ea43064b99cb21e02c61ca26024..0882203cb1ea51089a1ff49a4762c33f376e5631 100644 (file)
@@ -12,7 +12,7 @@
 
 // pretty-expanded FIXME #23616
 
-extern crate "issue-7178" as cross_crate_self;
+extern crate issue_7178 as cross_crate_self;
 
 pub fn main() {
     let _ = cross_crate_self::Foo::new(&1);
index a830de42862dfbe4dfdec1ebebe941dda48c8144..a17565fa0ac5b0b572918e628d0b6aa14a974d4e 100644 (file)
@@ -12,7 +12,7 @@
 
 // pretty-expanded FIXME #23616
 
-extern crate "issue-7899" as testcrate;
+extern crate issue_7899 as testcrate;
 
 fn main() {
     let f = testcrate::V2(1.0f32, 2.0f32);
index 284b0ff034815c6c14f27a8251cc737027bc2221..b39ae5fee9967f9ba9093fdfe2ef1ac019560513 100644 (file)
@@ -12,7 +12,7 @@
 
 // pretty-expanded FIXME #23616
 
-extern crate "issue-8044" as minimal;
+extern crate issue_8044 as minimal;
 use minimal::{BTree, leaf};
 
 pub fn main() {
index 34e5ee5621b15df11c79fd42cb74875fae0470ab..e7f09789c5ba05890d25751f80ff3f38d9f0bc2a 100644 (file)
@@ -12,7 +12,7 @@
 
 // pretty-expanded FIXME #23616
 
-extern crate "issue-8259" as other;
+extern crate issue_8259 as other;
 static a: other::Foo<'static> = other::Foo::A;
 
 pub fn main() {}
index 2730f567aa3bab39346b88de38ec1d45c45bc6fa..84f848fc9cdb20381c929e21aa4887e2542b1bc2 100644 (file)
@@ -12,7 +12,7 @@
 
 // pretty-expanded FIXME #23616
 
-extern crate "issue-9906" as testmod;
+extern crate issue_9906 as testmod;
 
 pub fn main() {
     testmod::foo();
index 5761c8d9438483ad74c6785281528004a9324729..c8af811d13d8d799ac19e7c8e455aae844c051f7 100644 (file)
@@ -12,7 +12,7 @@
 
 // pretty-expanded FIXME #23616
 
-extern crate "issue-9968" as lib;
+extern crate issue_9968 as lib;
 
 use lib::{Trait, Struct};
 
index 6f5ded6c475b6f3f058a094b52767753e5baa242..728f91ff45d8341f8da987a6a735a950cb7353d9 100644 (file)
@@ -14,7 +14,7 @@
 #![feature(lang_items, start, no_std)]
 #![no_std]
 
-extern crate "lang-item-public" as lang_lib;
+extern crate lang_item_public as lang_lib;
 
 #[cfg(target_os = "linux")]
 #[link(name = "c")]
index 3c238d3fe78c6d92e86e71772f0626be67dfb794..1a0140882d4d185a4f1866b55fda73191b7d1901 100644 (file)
@@ -14,7 +14,7 @@
 
 #![feature(std_misc, old_path)]
 
-extern crate "linkage-visibility" as foo;
+extern crate linkage_visibility as foo;
 
 pub fn main() {
     foo::test();
index 24ef02956266b1238beba43d11a4b539297a569b..294d4d1217952c9c1d4fb8f95122f57572417acb 100644 (file)
@@ -8,7 +8,7 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-// exec-env:RUST_LOG=logging-enabled=info
+// exec-env:RUST_LOG=logging_enabled=info
 
 // pretty-expanded FIXME #23616
 
index 17fb5aad6d097d7dd439534f80e803e8df9c2c29..aa2db260dd4ae3ca424d9247766e5355af0cb5a4 100644 (file)
@@ -12,7 +12,7 @@
 
 // pretty-expanded FIXME #23616
 
-extern crate "priv-impl-prim-ty" as bar;
+extern crate priv_impl_prim_ty as bar;
 
 pub fn main() {
     bar::frob(1);
index 2c92965ee7a6740a331708d6e1d77b61453ea5a5..1243d72af5efb4cd68ac6a3e73535adcb55c5488 100644 (file)
@@ -12,7 +12,7 @@
 
 // pretty-expanded FIXME #23616
 
-extern crate "reexport-should-still-link" as foo;
+extern crate reexport_should_still_link as foo;
 
 pub fn main() {
     foo::bar();
index 0f7fb31fbae1b59972773f063f18ef5dd6a6f369..bc379f1a76f7f382b5d9517bc34e0f9c329b42ad 100644 (file)
@@ -8,7 +8,7 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-// exec-env:RUST_LOG=rust-log-filter/foo
+// exec-env:RUST_LOG=rust_log_filter/foo
 
 // pretty-expanded FIXME #23616
 
index fc85fc223a467203fdd4913d8556b5b1c8855cf2..9659d9943f8c00e55190ad49954f06279d901b3f 100644 (file)
@@ -15,7 +15,7 @@
 
 // pretty-expanded FIXME #23616
 
-#[link(name = "sepcomp-extern-lib")]
+#[link(name = "sepcomp_extern_lib")]
 extern {
     #[allow(ctypes)]
     fn foo() -> uint;
index f4d6e89d170a7c3c66892e7375b011afff8d1036..a0a37e4a9fb8dbfc166351d1c6a2ea41cf1cd1e7 100644 (file)
@@ -11,7 +11,7 @@
 // aux-build:static-function-pointer-aux.rs
 // pretty-expanded FIXME #23616
 
-extern crate "static-function-pointer-aux" as aux;
+extern crate static_function_pointer_aux as aux;
 
 fn f(x: int) -> int { x }
 
index 9dfd25b4fc4e18adf167c51a3e1dad6db0bd3b92..14d601fbc9467de427a13b3ef520445a51d3bab2 100644 (file)
@@ -15,8 +15,8 @@
 
 #![feature(hash, core)]
 
-extern crate "typeid-intrinsic" as other1;
-extern crate "typeid-intrinsic2" as other2;
+extern crate typeid_intrinsic as other1;
+extern crate typeid_intrinsic2 as other2;
 
 use std::hash::{self, SipHasher};
 use std::any::TypeId;
index 31a901756717e20657e779a3de4eb23d392bf16d..0c255c6bd6cb807beec069f05257cfba8b29cb3d 100644 (file)
@@ -14,7 +14,7 @@
 // aux-build:unboxed-closures-cross-crate.rs
 // pretty-expanded FIXME #23616
 
-extern crate "unboxed-closures-cross-crate" as ubcc;
+extern crate unboxed_closures_cross_crate as ubcc;
 
 fn main() {
     assert_eq!(ubcc::has_closures(), 2_usize);
index ec346a248a99f49dfef1531e8e56c32794f6d8be..5a567758bf45f673b0e8dba0e8e7cb8a730ea58c 100644 (file)
@@ -12,7 +12,7 @@
 
 // pretty-expanded FIXME #23616
 
-extern crate "weak-lang-items" as other;
+extern crate weak_lang_items as other;
 
 use std::thread;
 
index 016ebc777f1dab9124f080147002c0e57397a786..62d62839ba31bc89b1d95492ad9ae3526111b8a3 100644 (file)
@@ -12,7 +12,7 @@
 
 // pretty-expanded FIXME #23616
 
-extern crate "xcrate-trait-lifetime-param" as other;
+extern crate xcrate_trait_lifetime_param as other;
 
 struct Reader<'a> {
     b : &'a [u8]