rust/compiler/rustc_resolve/src
Mara ec2619ca62
Rollup merge of #80763 - petrochenkov:pubusecrate, r=estebank
resolve: Reduce scope of `pub_use_of_private_extern_crate` deprecation lint

This lint was deny-by-default since July 2017, crater showed 7 uses on crates.io back then (https://github.com/rust-lang/rust/pull/42894#issuecomment-311921147).

Unfortunately, the construction `pub use foo as bar` where `foo` is `extern crate foo;` was used by an older version `bitflags`, so turning it into an error causes too many regressions.
So, this PR reduces the scope of the lint instead of turning it into a hard error, and only turns some more rarely used components of it into errors.
2021-03-05 10:57:15 +01:00
..
late reworded message 2021-03-03 12:15:26 -08:00
build_reduced_graph.rs Support pub on macro_rules 2021-02-19 13:52:57 -03:00
check_unused.rs Attach TokenStream to ast::Visibility 2020-09-10 17:33:06 -04:00
def_collector.rs resolve/expand: Improve attribute expansion on macro definitions and calls 2021-01-09 18:43:01 +03:00
diagnostics.rs Rollup merge of #81680 - camsteffen:primty, r=oli-obk 2021-02-06 17:01:45 +01:00
imports.rs resolve: Reduce scope of pub_use_of_private_extern_crate deprecation lint 2021-02-11 10:15:29 +03:00
late.rs Address review comments 2021-02-25 00:09:33 +00:00
lib.rs use outer_expn_data() instead of outer_expn().expn_data() 2021-03-02 22:01:29 +03:00
macros.rs Feature gate macro attributes in #[derive] output 2021-02-07 20:08:45 +03:00