We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55dbf39 commit 42f11d4Copy full SHA for 42f11d4
crates/ide/src/inlay_hints/implicit_drop.rs
@@ -229,6 +229,27 @@ mod tests {
229
//^ drop(y)
230
}
231
//^ drop(x)
232
+"#,
233
+ );
234
+ }
235
+
236
+ #[test]
237
+ fn ignore_inlay_hint_for_macro_call() {
238
+ check_with_config(
239
+ ONLY_DROP_CONFIG,
240
+ r#"
241
+ struct X;
242
243
+ macro_rules! my_macro {
244
+ () => {{
245
+ let bbb = X;
246
+ bbb
247
+ }};
248
249
250
+ fn test() -> X {
251
+ my_macro!()
252
253
"#,
254
);
255
0 commit comments