about summary refs log tree commit diff
path: root/compiler/rustc_mir/src/transform/coverage/debug.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-05-03 14:44:44 +0000
committerbors <bors@rust-lang.org>2021-05-03 14:44:44 +0000
commit5e3160ca0bfa9e96ab81a0812a79ec41ad535d14 (patch)
tree755d590662ca9ac45a98258bd20976a5297b6173 /compiler/rustc_mir/src/transform/coverage/debug.rs
parentf41f38044f0d974eac15d58e6d3c6d59fa7413c7 (diff)
parent19e7448c7f6a4e3a07507c2742bef07d56f1a4a3 (diff)
downloadrust-5e3160ca0bfa9e96ab81a0812a79ec41ad535d14.tar.gz
rust-5e3160ca0bfa9e96ab81a0812a79ec41ad535d14.zip
Auto merge of #7156 - hellow554:single_char_strip, r=flip1995
[single_char_pattern] add strip_prefix and strip_suffix

Title says it all. Adjusted ui tests.

I added the second commit in case you don't like that I moved that table into `single_char_pattern.rs` directly. I don't see any reason why it shouldn't be in that file. It isn't used anywhere else.

*Please write a short comment explaining your change (or "none" for internal only changes)*

changelog: add strip_prefix and strip_suffix to single_char_pattern lint
Diffstat (limited to 'compiler/rustc_mir/src/transform/coverage/debug.rs')
0 files changed, 0 insertions, 0 deletions