Fails to compile with:
<anon>:1:18: 1:20 error: expected one of `=`, `;`, found `as`
<anon>:1 extern crate foo as bar;
^~
The problem is the foo currently needs to be a string: extern crate "foo" as bar. The error message is referring to = still (the old syntax), and it could easily be improved to say "maybe you meant to enclose foo in a string".