]> git.lizzy.rs Git - rust.git/commit
Disallow crate names with leading hyphens
authorChris Wong <lambda.fairy@gmail.com>
Sun, 22 Feb 2015 07:05:05 +0000 (20:05 +1300)
committerChris Wong <lambda.fairy@gmail.com>
Sun, 22 Feb 2015 07:05:05 +0000 (20:05 +1300)
commita7594f2d5b9f668b1001c9b0b6f1fdd95768c2c5
tree756eb2f805efe8bfc747419aaa889405d690d0b5
parent2b01a37ec38db9301239f0c0abcf3c695055b0ff
Disallow crate names with leading hyphens

Leading hyphens already don't work (#22661), so no code should break
from this change.

Closes #22661.
src/librustc/metadata/creader.rs
src/test/run-make/weird-output-filenames/Makefile