about summary refs log tree commit diff
path: root/src/test/compile-fail/import2.rs
AgeCommit message (Collapse)AuthorLines
2013-05-13Better error for some unresolved importsCorey Richardson-1/+1
When trying to import nonexistent items from existing modules, specify that that is what happened, rather than just reporting "unresolved name".
2013-03-02librustc: Forbid chained imports and fix the logic for one-level renaming ↵Patrick Walton-2/+3
imports
2013-01-30test: De-export aux, bench, compile-fail, and run-fail. rs=deexportingPatrick Walton-4/+2
2012-12-10Reliciense makefiles and testsuite. Yup.Graydon Hoare-0/+10
2012-09-21Install new pub/priv/export rules as defaults, old rules accessible under ↵Graydon Hoare-1/+3
#[legacy_exports];
2012-09-05test: "import" -> "use"Patrick Walton-1/+1
2012-08-23`m1!{...}` -> `m1!(...)`Paul Stansifer-1/+1
2012-07-30Change syntax extension syntax: `#m[...]` -> `m!{...}`.Paul Stansifer-1/+1
2012-07-09rustc: Switch to the new resolution passPatrick Walton-1/+1
2012-07-06Revert "rustc: Switch to the new resolution pass"Niko Matsakis-1/+1
This reverts commit c4af6e92fbae171c56a4e68666025725555fc9d8. Branch was burning...many, many unresolved imports.
2012-07-06rustc: Switch to the new resolution passPatrick Walton-1/+1
2012-06-29Switch the compiler over to using ~[] notation instead of []/~. Closes #2759.Michael Sullivan-1/+1
2012-06-25Make vectors uglier ([]/~). Sorry. Should be temporary. Closes #2725.Michael Sullivan-1/+1
2011-12-22Register snapshots and switch logging over to use of log_full or #error / ↵Graydon Hoare-1/+1
#debug.
2011-09-02Reformat. Issue #855Brian Anderson-1/+1
2011-09-01Convert main functions to istrs. Issue #855Brian Anderson-1/+1
2011-08-16Port the tests to the typaram foo<T> syntax.Erick Tryzelaar-1/+1
2011-08-16Convert most main functions to the ivec signatureBrian Anderson-1/+1
Converting rustc will still take a snapshot
2011-07-27Reformat for new syntaxMarijn Haverbeke-8/+3
2011-05-14Remove xfail-boot lines from testsBrian Anderson-1/+0
2011-05-13Implement module namespacesMarijn Haverbeke-1/+1
Module names no longer clash with type and value names. The tokenizer/parser still needs to be taught to be more careful in identifying keywords, so that we can use 'str' and 'vec' and so as module names.
2011-05-12Downcase std modules again, move to :: for module dereferencingMarijn Haverbeke-1/+1
This should be a snapshot transition.
2011-05-11Rewrite comp/middle/resolve.rsMarijn Haverbeke-1/+1
* Cleans up the algorithm * Move first pass to walk (second still folds) * Support part of a type/value namespace split (crate metadata and module indices still need to be taught about this) * Remove a few blatant inefficiencies (import tables being recreated for every lookup, most importantly)
2011-03-25Switch xfail system to use comments embedded in source files.Graydon Hoare-0/+1
2011-01-11Fix two invalid import cases we were not detecting:Rafael Ávila de Espíndola-0/+12
* If an import was unused we would never print any errors for it. * We would keep the existing environment in scope when descending 'foo.bar' and would find 'bar' in the global environment if there was no 'bar' in 'foo'.