about summary refs log tree commit diff
path: root/src/test/compile-fail-fulldeps
AgeCommit message (Collapse)AuthorLines
2015-01-05Replace LetSyntaxTT with MacroRulesTTKeegan McAllister-0/+21
The implementation of LetSyntaxTT was specialized to macro_rules! in various ways. This gets rid of the false generality and simplifies the code.
2015-01-03Remove deprecated functionalityAlex Crichton-83/+0
This removes a large array of deprecated functionality, regardless of how recently it was deprecated. The purpose of this commit is to clean out the standard libraries and compiler for the upcoming alpha release. Some notable compiler changes were to enable warnings for all now-deprecated command line arguments (previously the deprecated versions were silently accepted) as well as removing deriving(Zero) entirely (the trait was removed). The distribution no longer contains the libtime or libregex_macros crates. Both of these have been deprecated for some time and are available externally.
2014-12-16std: Change escape_unicode to use new escapesAlex Crichton-1/+1
This changes the `escape_unicode` method on a `char` to use the new style of unicode escapes in the language. Closes #19811 Closes #19879
2014-12-12Reviewer commentsNick Cameron-1/+1
2014-11-30Adjust some error messages to start with a lowercase letter and not finish ↵P1start-1/+1
with a full stop
2014-11-17Fix an ICE when using struct patterns with traitsJakub Bukaj-0/+20
Fixes #18986.
2014-10-28Update code with new lint namesAaron Turon-3/+3
2014-10-19Remove a large amount of deprecated functionalityAlex Crichton-166/+0
Spring cleaning is here! In the Fall! This commit removes quite a large amount of deprecated functionality from the standard libraries. I tried to ensure that only old deprecated functionality was removed. This is removing lots and lots of deprecated features, so this is a breaking change. Please consult the deprecation messages of the deleted code to see how to migrate code forward if it still needs migration. [breaking-change]
2014-10-03Set the `non_uppercase_statics` lint to warn by defaultP1start-0/+1
2014-09-24Use more descriptive names in dead code messagesJakub Wieczorek-1/+1
2014-08-30Add lint groups; define built-in lint groups `bad_style` and `unused`P1start-0/+27
This adds support for lint groups to the compiler. Lint groups are a way of grouping a number of lints together under one name. For example, this also defines a default lint for naming conventions, named `bad_style`. Writing `#[allow(bad_style)]` is equivalent to writing `#[allow(non_camel_case_types, non_snake_case, non_uppercase_statics)]`. These lint groups can also be defined as a compiler plugin using the new `Registry::register_lint_group` method. This also adds two built-in lint groups, `bad_style` and `unused`. The contents of these groups can be seen by running `rustc -W help`.
2014-08-18regex: Enable test on Windowsklutzy-6/+0
Fixes #13725
2014-08-15auto merge of #16435 : vadimcn/rust/windows, r=pcwaltonbors-3/+3
Using "win32" to mean "Windows" is confusing, especially now, that Rust supports win64 builds. Let's call spade a spade.
2014-08-13rustc lexer: regression tests for embedded Idents.Felix S. Klock II-0/+31
I chose to make two of them because I wanted something close to an "end-to-end" test (*), but at the same time I wanted a test that would run on Windows (**). (*) The run-make test serves as the end-to-end: It constructs an input that is trying to subvert the hack and we are going to check that it fails in the attempt). (**) The compile-fail-fulldeps test serves as a more narrow test that will be tested on all platforms. It also attempts to subvert the hack, testing that when you use `new_parser_from_tts`, the resulting parser does not support reading embedded Idents.
2014-08-12Replace "ignore-win32" in tests with "ignore-windows"Vadim Chugunov-3/+3
2014-07-15test: Try to fix a failing snapshot testAlex Crichton-0/+1
This test seems to yield a different error message on cross compiles, so just ignore it when cross compiling.
2014-07-11auto merge of #15565 : alexcrichton/rust/issue-15475, r=huonwbors-0/+20
If a plugin registrar is available, the library must be found in dylib form, not just in rlib form. Closes #15475
2014-07-11Add scaffolding for assigning alpha-numeric codes to rustc diagnosticsJakub Wieczorek-1/+1
2014-07-10rustc: Forbid plugin_registrar in only rlib formAlex Crichton-0/+20
If a plugin registrar is available, the library must be found in dylib form, not just in rlib form. Closes #15475
2014-06-24Test lint pluginsKeegan McAllister-0/+98
2014-06-18rustc: reduce redundant resolve errors.Kevin Butler-3/+2
2014-06-09Use phase(plugin) in testsKeegan McAllister-14/+14
2014-06-04Fixes #14185.Andrew Gallant-0/+60
This fix suppresses dead_code warnings from code generated by regex! when the result of regex! is unused. Correct behavior should be a single unused variable warning. Regression tests are included for both `let` and `static` bound regex! values.
2014-05-15test: Move syntax extension tests to cfail-fullAlex Crichton-0/+81
2014-04-28test: Add a compile-fail-fulldeps test suiteAlex Crichton-0/+194
Compile-fail tests for syntax extensions belong in this suite which has correct dependencies on all artifacts rather than just the target artifacts. Closes #13818