about summary refs log tree commit diff
path: root/src/test/compile-fail/import2.rs
AgeCommit message (Collapse)AuthorLines
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'.