about summary refs log tree commit diff
path: root/src/test/compile-fail/obsolete-syntax.rs
AgeCommit message (Collapse)AuthorLines
2014-05-23syntax: Clean out obsolete syntax parsingAlex Crichton-16/+0
All of these features have been obsolete since February 2014, where most have been obsolete since 2013. There shouldn't be any more need to keep around the parser hacks after this length of time.
2014-02-13Remove obsolete warnings for `extern mod`Flavio Percoco-5/+0
This patch gets rid of ObsoleteExternModAttributesInParens and ObsoleteNamedExternModule since the replacement of `extern mod` with `extern crate` avoids those cases and raises different errors. Both have been around for at least a version which makes this a good moment to get rid of them.
2013-10-04Remove specific errors for very old obsolete syntaxBenjamin Herr-42/+1
Replaces existing tests for removed obsolete-syntax errors with tests for the resulting regular errors, adds a test for each of the removed parser errors to make sure that obsolete forms don't start working again, removes some obsolete/superfluous tests that were now failing. Deletes some amount of dead code in the parser, also includes some small changes to parser error messages to accomodate new tests.
2013-09-24Correctly encode item visibility in metadataAlex Crichton-3/+3
This fixes private statics and functions from being usable cross-crates, along with some bad privacy error messages. This is a reopening of #8365 with all the privacy checks in privacy.rs instead of resolve.rs (where they should be anyway). These maps of exported items will hopefully get used for generating documentation by rustdoc Closes #8592
2013-08-18fix for #8088 (Cannot name a struct field `new` due to ancient syntax)Do Nhat Minh-2/+0
remove code for parsing ancient syntax added a run-pass test
2013-07-31rm ancient error for lowercase kindsDaniel Micay-12/+0
3 of these kinds no longer even exist in the CamelCase form
2013-07-26syntax: fix span for obsolete extern visibility errorPhilipp Brüschweiler-0/+10
2013-03-27libsyntax: error on struct Foo {}.Luqman Aden-0/+2
2013-02-21Remove the last bits of structural records from tests/rustc/rusti/rustpkg.Luqman Aden-5/+0
2013-02-20librustc: Separate most trait bounds with '+'. rs=plussingPatrick Walton-4/+4
2013-02-09Issue #4830 fixSeth Pink-8/+0
2012-12-10Reliciense makefiles and testsuite. Yup.Graydon Hoare-0/+10
2012-11-06Cleanup how we handle proto in types, remove unsound subtypingNiko Matsakis-12/+1
Fixes #1896 which was never truly fixed, just masked. The given tests would have failed had they used `~fn()` and not `@fn()`. They now result in compilation errors. Fixes #2978. Necessary first step for #2202, #2263.
2012-10-23Remove uses of binary move - <- - from tests and librariesTim Chevalier-0/+8
2012-10-20Parse and report obsolete fixed-length vector syntaxBrian Anderson-0/+11
2012-09-11Remove priv sections from classes. Obsolete the syntaxBrian Anderson-0/+7
2012-09-10Report obsolete trait lists on structsBrian Anderson-0/+4
2012-09-10Report obsolete class method syntaxBrian Anderson-0/+8
2012-09-08libsyntax: Parse and report errors for a few obsolete syntaxesBrian Anderson-0/+40