about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-08-24 10:03:48 +0000
committerbors <bors@rust-lang.org>2015-08-24 10:03:48 +0000
commitdb67cbe43dfce043c664c53d709b91252d5afc9e (patch)
tree89d0b566e67b3c00fcccd292dcb9f26e723767c6 /src/libstd/sys/unix/stack_overflow.rs
parent63ba780fd7ab506bfd0f92d34a39172b412cfbe1 (diff)
parent19948751bd5487b4f7e8ba6943915a288a9be785 (diff)
downloadrust-db67cbe43dfce043c664c53d709b91252d5afc9e.tar.gz
rust-db67cbe43dfce043c664c53d709b91252d5afc9e.zip
Auto merge of #27856 - nikomatsakis:move-def-id-to-rustc, r=eddyb
It doesn't really make sense for DefId to be in libsyntax -- it is concerned with a single crate only. It is the compiler that understands the idea of many crates. (At some point, there might be a useful intermediate point here.) This is a refactoring in support of incr. compilation, which will be adjusting the notion of a DefId to make it more durable across compilations.

This will probably be a [breaking-change] for every plugin ever. You need to adjust things as follows:

    use rustc::middle::def_id::{DefId, LOCAL_CRATE}; // two most common definitions
    ast_util::is_local(def_id) => def_id.is_local()
    ast_util::local_def(node_id) => DefId::local(node_id)
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions