mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-28 17:53:56 +00:00
prevent "Play" symbol in "Run Test" code lens from rendering as emoji
This commit is contained in:
parent
5e464d058b
commit
409c1a7f06
@ -758,7 +758,7 @@ pub fn handle_code_lens(
|
|||||||
// Gather runnables
|
// Gather runnables
|
||||||
for runnable in world.analysis().runnables(file_id)? {
|
for runnable in world.analysis().runnables(file_id)? {
|
||||||
let title = match &runnable.kind {
|
let title = match &runnable.kind {
|
||||||
RunnableKind::Test { .. } | RunnableKind::TestMod { .. } => "▶️Run Test",
|
RunnableKind::Test { .. } | RunnableKind::TestMod { .. } => "▶️\u{fe0e}Run Test",
|
||||||
RunnableKind::Bench { .. } => "Run Bench",
|
RunnableKind::Bench { .. } => "Run Bench",
|
||||||
RunnableKind::Bin => "Run",
|
RunnableKind::Bin => "Run",
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user