about summary refs log tree commit diff
path: root/src/test/compile-fail/xc-private-method.rs
AgeCommit message (Collapse)AuthorLines
2018-08-14Moved compile-fail tests to ui tests.David Wood-21/+0
2014-04-06Remove check-fast. Closes #4193, #8844, #6330, #7416Brian Anderson-1/+0
2014-02-14extern mod => extern crateAlex Crichton-1/+1
This was previously implemented, and it just needed a snapshot to go through
2014-02-11Change `xfail` directives in compiletests to `ignore`, closes #11363Florian Hahn-2/+2
2013-10-07Fix existing privacy/visibility violationsAlex Crichton-2/+2
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-09-24Correctly encode item visibility in metadataAlex Crichton-8/+14
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-27librustc: Fix problem with cross-crate reexported static methods.Patrick Walton-2/+2
2013-08-07Enable privacy check for enum methods.Michael Woerister-1/+9
2013-05-03add gitattributes and fix whitespace issuesDaniel Micay-1/+0
2013-03-21librustc: Forbid access to cross-crate private static methodsPatrick Walton-0/+9