Skip to content

Commit e77db16

Browse files
committed
Fix fallout of removing quotes in crate names
1 parent 8bc3838 commit e77db16

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+195
-204
lines changed

src/test/auxiliary/issue-12133-dylib2.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@
1212

1313
#![crate_type = "dylib"]
1414

15-
extern crate "issue-12133-rlib" as a;
16-
extern crate "issue-12133-dylib" as b;
15+
extern crate issue_12133_rlib as a;
16+
extern crate issue_12133_dylib as b;

src/test/auxiliary/issue-13560-3.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@
1212

1313
#![crate_type = "rlib"]
1414

15-
#[macro_use] #[no_link] extern crate "issue-13560-1" as t1;
16-
#[macro_use] extern crate "issue-13560-2" as t2;
15+
#[macro_use] #[no_link] extern crate issue_13560_1 as t1;
16+
#[macro_use] extern crate issue_13560_2 as t2;

src/test/auxiliary/issue-13620-2.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
extern crate "issue-13620-1" as crate1;
11+
extern crate issue_13620_1 as crate1;
1212

1313
pub static FOO2: crate1::Foo = crate1::FOO;

src/test/auxiliary/issue-13872-2.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
extern crate "issue-13872-1" as foo;
11+
extern crate issue_13872_1 as foo;
1212

1313
pub use foo::A::B;

src/test/auxiliary/issue-13872-3.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
extern crate "issue-13872-2" as bar;
11+
extern crate issue_13872_2 as bar;
1212

1313
use bar::B;
1414

src/test/auxiliary/static-function-pointer-aux.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
#![crate_name="static-function-pointer-aux"]
12-
1311
pub fn f(x: int) -> int { -x }
1412

1513
pub static F: fn(int) -> int = f;

src/test/auxiliary/trait_default_method_xc_aux.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
#![crate_name="trait_default_method_xc_aux"]
12-
1311
pub struct Something { pub x: int }
1412

1513
pub trait A {

src/test/compile-fail/use-meta-mismatch.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@
1010

1111
// error-pattern:can't find crate for `extra`
1212

13-
extern crate "fake-crate" as extra;
13+
extern crate fake_crate as extra;
1414

1515
fn main() { }

src/test/compile-fail/weak-lang-item.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@
1717
#![no_std]
1818

1919
extern crate core;
20-
extern crate "weak-lang-items" as other;
20+
extern crate weak_lang_items;

src/test/debuginfo/basic-types-globals-metadata.rs

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -12,33 +12,33 @@
1212

1313
// compile-flags:-g
1414
// gdb-command:run
15-
// gdb-command:whatis 'basic-types-globals-metadata::B'
15+
// gdb-command:whatis 'basic_types_globals_metadata::B'
1616
// gdb-check:type = bool
17-
// gdb-command:whatis 'basic-types-globals-metadata::I'
17+
// gdb-command:whatis 'basic_types_globals_metadata::I'
1818
// gdb-check:type = isize
19-
// gdb-command:whatis 'basic-types-globals-metadata::C'
19+
// gdb-command:whatis 'basic_types_globals_metadata::C'
2020
// gdb-check:type = char
21-
// gdb-command:whatis 'basic-types-globals-metadata::I8'
21+
// gdb-command:whatis 'basic_types_globals_metadata::I8'
2222
// gdb-check:type = i8
23-
// gdb-command:whatis 'basic-types-globals-metadata::I16'
23+
// gdb-command:whatis 'basic_types_globals_metadata::I16'
2424
// gdb-check:type = i16
25-
// gdb-command:whatis 'basic-types-globals-metadata::I32'
25+
// gdb-command:whatis 'basic_types_globals_metadata::I32'
2626
// gdb-check:type = i32
27-
// gdb-command:whatis 'basic-types-globals-metadata::I64'
27+
// gdb-command:whatis 'basic_types_globals_metadata::I64'
2828
// gdb-check:type = i64
29-
// gdb-command:whatis 'basic-types-globals-metadata::U'
29+
// gdb-command:whatis 'basic_types_globals_metadata::U'
3030
// gdb-check:type = usize
31-
// gdb-command:whatis 'basic-types-globals-metadata::U8'
31+
// gdb-command:whatis 'basic_types_globals_metadata::U8'
3232
// gdb-check:type = u8
33-
// gdb-command:whatis 'basic-types-globals-metadata::U16'
33+
// gdb-command:whatis 'basic_types_globals_metadata::U16'
3434
// gdb-check:type = u16
35-
// gdb-command:whatis 'basic-types-globals-metadata::U32'
35+
// gdb-command:whatis 'basic_types_globals_metadata::U32'
3636
// gdb-check:type = u32
37-
// gdb-command:whatis 'basic-types-globals-metadata::U64'
37+
// gdb-command:whatis 'basic_types_globals_metadata::U64'
3838
// gdb-check:type = u64
39-
// gdb-command:whatis 'basic-types-globals-metadata::F32'
39+
// gdb-command:whatis 'basic_types_globals_metadata::F32'
4040
// gdb-check:type = f32
41-
// gdb-command:whatis 'basic-types-globals-metadata::F64'
41+
// gdb-command:whatis 'basic_types_globals_metadata::F64'
4242
// gdb-check:type = f64
4343
// gdb-command:continue
4444

0 commit comments

Comments
 (0)