rust/src/librustc/middle
Patrick Walton cad760b770 librustc: Make addresses of immutable statics insignificant unless
`#[inline(never)]` is used.

Closes #8958.

This can break some code that relied on the addresses of statics
being distinct; add `#[inline(never)]` to the affected statics.

[breaking-change]
2014-06-17 11:44:00 -07:00
..
borrowck Rename check_for_assignment_to_restricted_or_frozen_location 2014-06-16 15:40:21 -07:00
cfg rustc: Move the AST from @T to Gc<T> 2014-06-11 09:51:37 -07:00
save rustc: Improve span for error about using a method as a field. 2014-06-16 18:15:54 -07:00
trans librustc: Make addresses of immutable statics insignificant unless 2014-06-17 11:44:00 -07:00
typeck Test fixes from rollup 2014-06-16 19:05:08 -07:00
astencode.rs rustc: Obsolete the @ syntax entirely 2014-06-14 10:45:37 -07:00
check_const.rs rustc: Move the AST from @T to Gc<T> 2014-06-11 09:51:37 -07:00
check_loop.rs rustc: Move the AST from @T to Gc<T> 2014-06-11 09:51:37 -07:00
check_match.rs rustc: Obsolete the @ syntax entirely 2014-06-14 10:45:37 -07:00
check_static.rs rustc: Obsolete the @ syntax entirely 2014-06-14 10:45:37 -07:00
const_eval.rs rustc: Move the AST from @T to Gc<T> 2014-06-11 09:51:37 -07:00
dataflow.rs Fix all violations of stronger guarantees for mutable borrows 2014-06-13 20:48:09 -07:00
dead.rs rustc: Improve span for error about using a method as a field. 2014-06-16 18:15:54 -07:00
def.rs Introduce VecPerParamSpace and use it to represent sets of types and 2014-06-13 13:20:24 -04:00
dependency_format.rs
effect.rs rustc: Move the AST from @T to Gc<T> 2014-06-11 09:51:37 -07:00
entry.rs
expr_use_visitor.rs rustc: Move the AST from @T to Gc<T> 2014-06-11 09:51:37 -07:00
freevars.rs
graph.rs Fix more misspelled comments and strings. 2014-06-10 11:24:17 -04:00
intrinsicck.rs librustc: Forbid transmute from being called on types whose size is 2014-06-13 13:53:55 -07:00
kind.rs rustc: Obsolete the @ syntax entirely 2014-06-14 10:45:37 -07:00
lang_items.rs librustc: Implement overloading for the call operator behind a feature 2014-06-09 12:39:17 -07:00
lint.rs librustc: Make addresses of immutable statics insignificant unless 2014-06-17 11:44:00 -07:00
liveness.rs Fix all violations of stronger guarantees for mutable borrows 2014-06-13 20:48:09 -07:00
mem_categorization.rs rustc: Improve span for error about using a method as a field. 2014-06-16 18:15:54 -07:00
pat_util.rs
privacy.rs rustc: Don't mark type parameters as exported 2014-06-16 18:16:28 -07:00
reachable.rs librustc: Make addresses of immutable statics insignificant unless 2014-06-17 11:44:00 -07:00
region.rs rustc: Move the AST from @T to Gc<T> 2014-06-11 09:51:37 -07:00
resolve_lifetime.rs librustc: Fix the issue with labels shadowing variable names by making 2014-06-13 13:53:34 -07:00
resolve.rs rustc: Improve span for error about using a method as a field. 2014-06-16 18:15:54 -07:00
subst.rs Introduce VecPerParamSpace and use it to represent sets of types and 2014-06-13 13:20:24 -04:00
ty_fold.rs Introduce VecPerParamSpace and use it to represent sets of types and 2014-06-13 13:20:24 -04:00
ty.rs Register new snapshots 2014-06-15 23:30:24 -07:00
weak_lang_items.rs