rust/src/librustc_symbol_mangling
Nicholas Nethercote e539dd65f8 Eliminate the SessionGlobals from librustc_ast.
By moving `{known,used}_attrs` from `SessionGlobals` to `Session`. This
means they are accessed via the `Session`, rather than via TLS. A few
`Attr` methods and `librustc_ast` functions are now methods of
`Session`.

All of this required passing a `Session` to lots of functions that didn't
already have one. Some of these functions also had arguments removed, because
those arguments could be accessed directly via the `Session` argument.

`contains_feature_attr()` was dead, and is removed.

Some functions were moved from `librustc_ast` elsewhere because they now need
to access `Session`, which isn't available in that crate.
- `entry_point_type()` --> `librustc_builtin_macros`
- `global_allocator_spans()` --> `librustc_metadata`
- `is_proc_macro_attr()` --> `Session`
2020-08-08 12:03:42 +10:00
..
Cargo.toml Move from log to tracing 2020-07-31 22:38:20 +02:00
legacy.rs mir: unused_generic_params query 2020-07-20 19:35:30 +01:00
lib.rs Change SymbolName::name to a &str. 2020-07-15 14:37:55 +10:00
test.rs Eliminate the SessionGlobals from librustc_ast. 2020-08-08 12:03:42 +10:00
v0.rs Auto merge of #65989 - Aaron1011:fix/normalize-param-env, r=nikomatsakis 2020-07-31 18:14:59 +00:00