Skip to content

Commit 8de5be4

Browse files
Removed a test for behaviour we aren't implementing
1 parent 20d4b44 commit 8de5be4

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

crates/assists/src/handlers/inline_function.rs

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -140,26 +140,6 @@ fn main() {
140140
);
141141
}
142142

143-
#[test]
144-
#[ignore = "not implemented"]
145-
fn copy_args_with_no_side_effects_get_inlined() {
146-
check_assist(
147-
inline_function,
148-
r#"
149-
fn add(a: u32, b: u32) -> u32 { a + b }
150-
fn main() {
151-
let x = add<|>(1, 2);
152-
}
153-
"#,
154-
r#"
155-
fn add(a: u32, b: u32) -> u32 { a + b }
156-
fn main() {
157-
let x = 1 + 2;
158-
}
159-
"#,
160-
);
161-
}
162-
163143
#[test]
164144
fn method_inlining_isnt_supported() {
165145
check_assist_not_applicable(

0 commit comments

Comments
 (0)