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 20d4b44 commit 8de5be4Copy full SHA for 8de5be4
crates/assists/src/handlers/inline_function.rs
@@ -140,26 +140,6 @@ fn main() {
140
);
141
}
142
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
155
156
157
-let x = 1 + 2;
158
159
160
- );
161
- }
162
-
163
#[test]
164
fn method_inlining_isnt_supported() {
165
check_assist_not_applicable(
0 commit comments