about summary refs log tree commit diff
path: root/src/test/compile-fail/issue-11680.rs
diff options
context:
space:
mode:
authorwickerwaka <martin.donlon@gmail.com>2014-08-22 21:02:00 -0700
committerwickerwaka <martin.donlon@gmail.com>2014-08-23 12:16:04 -0700
commitc0e003d5ade810f36b8f4a1bb641b6bb2476b298 (patch)
tree1c9b034207960f9d1b08f57cc451308ff322c869 /src/test/compile-fail/issue-11680.rs
parent6843d8ccd562c5c5d45c0bba570908d5aa765610 (diff)
downloadrust-c0e003d5ade810f36b8f4a1bb641b6bb2476b298.tar.gz
rust-c0e003d5ade810f36b8f4a1bb641b6bb2476b298.zip
extern crate foobar as foo;
Implements remaining part of RFC #47.
Addresses issue #16461.

Removed link_attrs from rust.md, they don't appear to be supported by
the parser.

Changed all the tests to use the new extern crate syntax

Change pretty printer to use 'as' syntax
Diffstat (limited to 'src/test/compile-fail/issue-11680.rs')
-rw-r--r--src/test/compile-fail/issue-11680.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/compile-fail/issue-11680.rs b/src/test/compile-fail/issue-11680.rs
index 9c9663a2f38..86a58783a2a 100644
--- a/src/test/compile-fail/issue-11680.rs
+++ b/src/test/compile-fail/issue-11680.rs
@@ -10,7 +10,7 @@
 
 // aux-build:issue-11680.rs
 
-extern crate other = "issue-11680";
+extern crate "issue-11680" as other;
 
 fn main() {
     let _b = other::Bar(1);