about summary refs log tree commit diff
path: root/compiler/rustc_passes/Cargo.toml
AgeCommit message (Collapse)AuthorLines
2023-03-14Simplify proc macro signature validity checkMichael Goulet-0/+1
2022-07-15passes: migrate half of `check_attr`David Wood-0/+1
Migrate half of the `rustc_passes::check_attr` diagnostics to using diagnostic derives and being translatable.
2022-06-19collapse dead code warnings into a single diagnosticTakayuki Maeda-0/+1
add comments in `store_dead_field_or_variant` support multiple log level add a item ident label fix ui tests fix a ui test fix a rustdoc ui test use let chain refactor: remove `store_dead_field_or_variant` fix a tiny bug
2022-06-13remove currently unused depsklensy-1/+0
2022-05-03Add support for a new attribute `#[debugger_visualizer]` to support ↵ridwanabdillahi-0/+1
embedding debugger visualizers into a generated PDB. Cleanup `DebuggerVisualizerFile` type and other minor cleanup of queries. Merge the queries for debugger visualizers into a single query. Revert move of `resolve_path` to `rustc_builtin_macros`. Update dependencies in Cargo.toml for `rustc_passes`. Respond to PR comments. Load visualizer files into opaque bytes `Vec<u8>`. Debugger visualizers for dynamically linked crates should not be embedded in the current crate. Update the unstable book with the new feature. Add the tracking issue for the debugger_visualizer feature. Respond to PR comments and minor cleanups.
2021-09-20Migrate to 2021Mark Rousskov-1/+1
2021-08-21Remove `Session.used_attrs` and move logic to `CheckAttrVisitor`Aaron Hill-0/+2
Instead of updating global state to mark attributes as used, we now explicitly emit a warning when an attribute is used in an unsupported position. As a side effect, we are to emit more detailed warning messages (instead of just a generic "unused" message). `Session.check_name` is removed, since its only purpose was to mark the attribute as used. All of the callers are modified to use `Attribute.has_name` Additionally, `AttributeType::AssumedUsed` is removed - an 'assumed used' attribute is implemented by simply not performing any checks in `CheckAttrVisitor` for a particular attribute. We no longer emit unused attribute warnings for the `#[rustc_dummy]` attribute - it's an internal attribute used for tests, so it doesn't mark sense to treat it as 'unused'. With this commit, a large source of global untracked state is removed.
2021-07-29rfc3052: Remove authors field from Cargo manifestsJade-1/+0
Since RFC 3052 soft deprecated the authors field anyway, hiding it from crates.io, docs.rs, and making Cargo not add it by default, and it is not generally up to date/useful information, we should remove it from crates in this repo.
2021-06-25rustc_passes: Remove unused dependency rustc_trait_selectionJosh Triplett-1/+0
Unused since commit 6a32e794c2180a514ad80d3a481300b9afe0b536 ("stabilize union with 'ManuallyDrop' fields and 'impl Drop for Union'").
2021-03-14Use pretty-printer instead of `span_to_snippet`Camelid-0/+1
2020-12-02Add rustc_lexer as dependency to rustc_passesGuillaume Gomez-0/+1
2020-09-26liveness: Use newtype_index for Variable and LiveNodeTomasz Miąsko-0/+1
2020-08-30mv compiler to compiler/mark-0/+19