Commit Graph

6 Commits

Author SHA1 Message Date
Corey Farwell
abd1cea145 Stop ignoring expected note/help messages in compiletest suite.
Original issue: https://github.com/rust-lang/rust/issues/21195

Relevant PR: https://github.com/rust-lang/rust/pull/30778

Prior to this commit, if a compiletest testcase included the text
"HELP:" or "NOTE:" (note the colons), then it would indicate to the
compiletest suite that we should verify "help" and "note" expected
messages.

This commit updates this check to also check "HELP" and "NOTE" (not the
absense of colons) so that we always verify "help" and "note" expected
messages.
2016-03-16 21:53:58 -04:00
mitaa
dcf7ac6f9a Fix and add tests regarding extern crate paths 2015-08-01 19:41:01 +02:00
Alex Crichton
eb2f1d925f rustc: Add support for extern crate foo as bar
The compiler will now issue a warning for crates that have syntax of the form
`extern crate "foo" as bar`, but it will still continue to accept this syntax.
Additionally, the string `foo-bar` will match the crate name `foo_bar` to assist
in the transition period as well.

This patch will land hopefully in tandem with a Cargo patch that will start
translating all crate names to have underscores instead of hyphens.

cc #23533
2015-03-24 14:55:15 -07:00
Junseok Lee
9b67d07acc added license header to test 2015-02-20 16:16:09 -08:00
Junseok Lee
3419d51199 added local crate struct with priv field to test 2015-02-20 16:16:09 -08:00
Junseok Lee
85069e0529 added 'suggest-private-fields' cfail test 2015-02-20 16:16:09 -08:00