about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2023-11-14 12:22:05 +1100
committerNicholas Nethercote <n.nethercote@gmail.com>2023-11-22 08:13:21 +1100
commite16b52d4f05d4c41b3f7a3c2ba65fb6495979568 (patch)
treeec149b792d59c46b063ee7dcf815166db5c4b8e8 /compiler/rustc_codegen_llvm/src/errors.rs
parentc6a902710252bd4b01c9a369c16a5b35c3758a04 (diff)
downloadrust-e16b52d4f05d4c41b3f7a3c2ba65fb6495979568.tar.gz
rust-e16b52d4f05d4c41b3f7a3c2ba65fb6495979568.zip
Streamline `PrintState`.
`PrintState` is a trait containing code that can be used by both AST and
HIR pretty-printing. But several of its methods are only used by AST
printing.

This commit moves those methods out of the trait and into the AST
`State` impl, so they are not exposed unnecessarily. This commit also
removes four unused methods: `param_to_string`,
`foreign_item_to_string`, `assoc_item_to_string`, and
`print_inner_attributes_inline`.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions