We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b9f8e7 commit d0cf283Copy full SHA for d0cf283
crates/ide_assists/src/tests/generated.rs
@@ -367,6 +367,25 @@ impl Point {
367
)
368
}
369
370
+#[test]
371
+fn doctest_destructure_tuple_binding() {
372
+ check_doc_test(
373
+ "destructure_tuple_binding",
374
+ r#####"
375
+fn main() {
376
+ let $0t = (1,2);
377
+ let v = t.0;
378
+}
379
+"#####,
380
381
382
+ let ($0_0, _1) = (1,2);
383
+ let v = _0;
384
385
386
+ )
387
388
+
389
#[test]
390
fn doctest_expand_glob_import() {
391
check_doc_test(
0 commit comments