diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-05-20 22:23:13 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-05-20 22:23:13 +0100 |
commit | 64afbf8d95386cde666311bcddf14d8420e9793d (patch) | |
tree | fa978e5eade46e912c4b1104ba314eda9b4069e7 | |
parent | ee9cec56c8ce3811b01acbe385e3684d1c2dc20b (diff) | |
parent | 63ffc1773399129b936cdabba241923725ba7553 (diff) |
Merge #4526
4526: Use a flat play icon instead of the blue emoji with test code lens r=kjeremy a=aloucks
@lnicola
Restores this commit:
https://github.com/rust-analyzer/rust-analyzer/commit/55e914a2a179aba63bd9948d6e0cf3e2a4bf5960
That was effectively wiped out by this code formatting commit:
https://github.com/rust-analyzer/rust-analyzer/commit/dc217bdf90d555eaa1780041fc3a14e64173994d
https://github.com/rust-analyzer/rust-analyzer/commit/3d445256fe56f4a7ead64514fb57b79079973d84
Co-authored-by: Aaron Loucks <[email protected]>
-rw-r--r-- | crates/rust-analyzer/src/main_loop/handlers.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/rust-analyzer/src/main_loop/handlers.rs b/crates/rust-analyzer/src/main_loop/handlers.rs index 4ff8fa69e..be6a0aece 100644 --- a/crates/rust-analyzer/src/main_loop/handlers.rs +++ b/crates/rust-analyzer/src/main_loop/handlers.rs | |||
@@ -802,11 +802,11 @@ pub fn handle_code_lens( | |||
802 | for runnable in world.analysis().runnables(file_id)? { | 802 | for runnable in world.analysis().runnables(file_id)? { |
803 | let (run_title, debugee) = match &runnable.kind { | 803 | let (run_title, debugee) = match &runnable.kind { |
804 | RunnableKind::Test { .. } | RunnableKind::TestMod { .. } => { | 804 | RunnableKind::Test { .. } | RunnableKind::TestMod { .. } => { |
805 | ("▶️\u{fe0e}Run Test", true) | 805 | ("▶\u{fe0e} Run Test", true) |
806 | } | 806 | } |
807 | RunnableKind::DocTest { .. } => { | 807 | RunnableKind::DocTest { .. } => { |
808 | // cargo does not support -no-run for doctests | 808 | // cargo does not support -no-run for doctests |
809 | ("▶️\u{fe0e}Run Doctest", false) | 809 | ("▶\u{fe0e} Run Doctest", false) |
810 | } | 810 | } |
811 | RunnableKind::Bench { .. } => { | 811 | RunnableKind::Bench { .. } => { |
812 | // Nothing wrong with bench debugging | 812 | // Nothing wrong with bench debugging |