about summary refs log tree commit diff
path: root/src/librustc_privacy
AgeCommit message (Expand)AuthorLines
2016-08-13Remove obsolete divergence related stuffAndrew Cann-1/+1
2016-08-11privacy: Move private-in-public diagnostics for type aliases to the public in...petrochenkov-3/+2
2016-08-11privacy: Substitute type aliases in private-in-public checkerVadim Petrochenkov-6/+0
2016-07-29intravisit: Fold functionality of IdVisitor into the regular Visitor.Michael Woerister-1/+1
2016-07-08Cleanup of some pattern related codeVadim Petrochenkov-1/+0
2016-06-27Fix `Cargo.toml`sJeffrey Seyfried-0/+1
2016-06-23Move errors from libsyntax to its own crateJonathan Turner-1/+2
2016-06-20Auto merge of #34186 - GuillaumeGomez:err-code-check, r=alexcrichtonbors-5/+5
2016-06-20Add error code flagGuillaume Gomez-5/+5
2016-06-10Introduce TyCtxt::expect_def/expect_resolution helpers and use them where pos...Vadim Petrochenkov-16/+13
2016-06-01Auto merge of #33794 - petrochenkov:sanity, r=nrcbors-135/+8
2016-05-30Rollup merge of #33793 - GuillaumeGomez:compile_fail, r=GuillaumeGomezManish Goregaokar-1/+5
2016-05-28Move some other checks to AST sanity passVadim Petrochenkov-135/+8
2016-05-27* Fix compile_fail tag (in some cases, it compiled whereas it wasn't expected...Guillaume Gomez-1/+5
2016-05-26Replace pat_adjust_pos with an iterator adapterVadim Petrochenkov-6/+4
2016-05-26Implement `..` in tuple (struct) patternsVadim Petrochenkov-7/+6
2016-05-14Remove ExplicitSelf from HIRVadim Petrochenkov-2/+2
2016-05-11rustc: Split 'tcx into 'gcx and 'tcx for InferCtxt and its users.Eduard Burtescu-8/+10
2016-05-11rustc: Replace &'a TyCtxt<'tcx> with a TyCtxt<'a, 'tcx> wrapper.Eduard Burtescu-17/+20
2016-05-03Remove unused trait imports flagged by lintSeo Sanghyeon-1/+0
2016-04-16Always report PRIVATE_IN_PUBLIC violations as hard errors whenJeffrey Seyfried-2/+4
2016-04-07Improve `PrivateItemsInPublicInterfacesVisitor`Jeffrey Seyfried-84/+97
2016-04-07Use the node id from the `Restricted` variant when checking accessibilityJeffrey Seyfried-16/+8
2016-04-07Make `hir::Visibility` non-copyable and add `ty::Visibility`Jeffrey Seyfried-20/+20
2016-04-06rustc: move middle::{def,def_id,pat_util} to hir.Eduard Burtescu-2/+2
2016-04-06rustc: move rustc_front to rustc::hir.Eduard Burtescu-5/+3
2016-03-31librustc_privacy: use bug!(), span_bug!()Benjamin Herr-1/+1
2016-03-30privacy: Cleanup check_fieldVadim Petrochenkov-37/+8
2016-03-30Clean up the privacy visitorJeffrey Seyfried-406/+25
2016-03-27rustc: move cfg, infer, traits and ty from middle to top-level.Eduard Burtescu-1/+1
2016-03-09Auto merge of #31710 - eddyb:reify, r=nikomatsakisbors-1/+1
2016-03-09Track fn type and lifetime parameters in TyFnDef.Eduard Burtescu-1/+1
2016-03-09Split TyBareFn into TyFnDef and TyFnPtr.Eli Friedman-1/+1
2016-03-06Refactor away `ExternalExports`Jeffrey Seyfried-7/+1
2016-03-06Fix #21670Jeffrey Seyfried-1/+2
2016-03-04Don't treat associated types specially in `def_privacy`Jeffrey Seyfried-12/+6
2016-03-04privacy: change def_privacy so that it checks for visiblity instead of nameab...Jeffrey Seyfried-68/+38
2016-03-03Rename middle::ty::ctxt to TyCtxtJeffrey Seyfried-9/+9
2016-03-03Auto merge of #31824 - jseyfried:privacy_in_resolve, r=nikomatsakisbors-159/+3
2016-03-02Move span into `StructField`Vadim Petrochenkov-7/+7
2016-03-02Get rid of hir::StructFieldKindVadim Petrochenkov-7/+4
2016-02-26Some drive-by improvements to SanePrivacyVisitorVadim Petrochenkov-10/+15
2016-02-26Permit `pub` items in blocksVadim Petrochenkov-62/+2
2016-02-26Remove `LastPrivate`Jeffrey Seyfried-121/+0
2016-02-26Lay the groundwork for privacy checking in typeckJeffrey Seyfried-41/+6
2016-02-24Warn instead of error when using an inaccessable extern crateJeffrey Seyfried-0/+16
2016-02-19Rollup merge of #31721 - rphmeier:err_tuplestruct_count, r=ManishearthSteve Klabnik-3/+3
2016-02-18Auto merge of #31641 - petrochenkov:reach, r=alexcrichtonbors-11/+134
2016-02-17Rollup merge of #31679 - GuillaumeGomez:long_error_explanation, r=ManishearthSteve Klabnik-5/+5
2016-02-18Check reachability insead of publicity for fields and inherent impl itemsVadim Petrochenkov-2/+2