rust/compiler/rustc_session/src
Ayrton 511fe048b4 Changed lint to check for std::fmt::Pointer and transmute
The lint checks arguments in calls to `transmute` or functions that have
`Pointer` as a trait bound and displays a warning if the argument is a function
reference. Also checks for `std::fmt::Pointer::fmt` to handle formatting macros
although it doesn't depend on the exact expansion of the macro or formatting
internals. `std::fmt::Pointer` and `std::fmt::Pointer::fmt` were also added as
diagnostic items and symbols.
2020-10-27 11:04:04 -04:00
..
lint Changed lint to check for std::fmt::Pointer and transmute 2020-10-27 11:04:04 -04:00
cgu_reuse_tracker.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
code_stats.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
config.rs Remove rustc_session::config::Config 2020-10-15 12:02:24 +02:00
filesearch.rs Remove unused #[allow(...)] statements from compiler/ 2020-09-26 01:25:55 +02:00
lib.rs datastructures: replace once_cell crate with an impl from std 2020-08-30 20:06:14 +01:00
lint.rs Support ignore for lint examples. 2020-09-13 08:48:03 -07:00
options.rs Auto merge of #76830 - Artoria2e5:tune, r=nagisa 2020-10-13 02:49:00 +00:00
output.rs Replace target.target with target and target.ptr_width with target.pointer_width 2020-10-15 12:02:24 +02:00
parse.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
search_paths.rs use strip_prefix over starts_with and manual slicing based on pattern length (clippy::manual_strip) 2020-09-17 10:13:16 +02:00
session.rs Remove rustc_session::config::Config 2020-10-15 12:02:24 +02:00
utils.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00