rust/src/librustc_borrowck
Alex Crichton e341d603fe Remove internal liblog
This commit deletes the internal liblog in favor of the implementation that
lives on crates.io. Similarly it's also setting a convention for adding crates
to the compiler. The main restriction right now is that we want compiler
implementation details to be unreachable from normal Rust code (e.g. requires a
feature), and by default everything in the sysroot is reachable via `extern
crate`.

The proposal here is to require that crates pulled in have these lines in their
`src/lib.rs`:

    #![cfg_attr(rustbuild, feature(staged_api, rustc_private))]
    #![cfg_attr(rustbuild, unstable(feature = "rustc_private", issue = "27812"))]

This'll mean that by default they're not using these attributes but when
compiled as part of the compiler they do a few things:

* Mark themselves as entirely unstable via the `staged_api` feature and the
  `#![unstable]` attribute.
* Allow usage of other unstable crates via `feature(rustc_private)` which is
  required if the crate relies on any other crates to compile (other than std).
2017-03-23 11:28:00 -07:00
..
borrowck Auto merge of #39628 - arielb1:shimmir, r=eddyb 2017-03-20 15:58:10 +00:00
Cargo.toml Remove internal liblog 2017-03-23 11:28:00 -07:00
diagnostics.rs kill the code path for E0388 2017-02-28 08:43:47 -05:00
graphviz.rs
lib.rs Remove not(stage0) from deny(warnings) 2016-12-29 21:07:20 -08:00