about summary refs log tree commit diff
path: root/src/test/compile-fail/export-import.rs
AgeCommit message (Collapse)AuthorLines
2018-08-14Moved compile-fail tests to ui tests.David Wood-21/+0
2013-10-07Fix existing privacy/visibility violationsAlex Crichton-2/+1
This commit fixes all of the fallout of the previous commit which is an attempt to refine privacy. There were a few unfortunate leaks which now must be plugged, and the most horrible one is the current `shouldnt_be_public` module now inside `std::rt`. I think that this either needs a slight reorganization of the runtime, or otherwise it needs to just wait for the external users of these modules to get replaced with their `rt` implementations. Other fixes involve making things pub which should be pub, and otherwise updating error messages that now reference privacy instead of referencing an "unresolved name" (yay!).
2013-01-30test: De-export aux, bench, compile-fail, and run-fail. rs=deexportingPatrick Walton-4/+1
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-0/+1
#[legacy_exports];
2012-09-05test: "import" -> "use"Patrick Walton-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
2011-08-20ReformatBrian Anderson-1/+1
This changes the indexing syntax from .() to [], the vector syntax from ~[] to [] and the extension syntax from #fmt() to #fmt[]
2011-07-27Reformat for new syntaxMarijn Haverbeke-8/+4
2011-06-14Remove some unnecessary xfailsTim Chevalier-1/+0
2011-05-14Remove xfail-boot lines from testsBrian Anderson-1/+0
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/+2
* 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-05-10Un-XFAIL compile-fail export tests for stage0Brian Anderson-1/+0
2011-05-04Add missing ret statements to check_modBrian Anderson-2/+0
Un-XFAIL compile-fail export tests
2011-05-04XFAIL some compile-fail tests mysteriously failing on win32 tinderbox.Graydon Hoare-0/+3
2011-05-01Add a test that imports can't circumvent exportsBrian Anderson-0/+19