diff options
Diffstat (limited to 'crates/ra_ide/src')
-rw-r--r-- | crates/ra_ide/src/hover.rs | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/crates/ra_ide/src/hover.rs b/crates/ra_ide/src/hover.rs index 25e038a55..89640efb6 100644 --- a/crates/ra_ide/src/hover.rs +++ b/crates/ra_ide/src/hover.rs | |||
@@ -838,14 +838,10 @@ fn func(foo: i32) { if true { <|>foo; }; } | |||
838 | r#" | 838 | r#" |
839 | //- /lib.rs | 839 | //- /lib.rs |
840 | #[rustc_builtin_macro] | 840 | #[rustc_builtin_macro] |
841 | macro_rules! assert { | 841 | macro_rules! format {} |
842 | ($cond:expr) => {{ /* compiler built-in */ }}; | ||
843 | ($cond:expr,) => {{ /* compiler built-in */ }}; | ||
844 | ($cond:expr, $($arg:tt)+) => {{ /* compiler built-in */ }}; | ||
845 | } | ||
846 | 842 | ||
847 | fn foo() { | 843 | fn foo() { |
848 | assert!("hel<|>lo"); | 844 | format!("hel<|>lo {}", 0); |
849 | } | 845 | } |
850 | "#, | 846 | "#, |
851 | ); | 847 | ); |