@@ -340,14 +340,11 @@ pub trait LookAheadMethods<'sel, S> {
340
340
341
341
/// Get the the child selection for a given field
342
342
/// If a child has an alias, it will only match if the alias matches `name`
343
- #[ deprecated( note = "please use `children` to access the child selections instead" ) ]
344
343
fn select_child ( & self , name : & str ) -> Option < & Self > ;
345
344
346
345
/// Check if a given child selection with a name exists
347
346
/// If a child has an alias, it will only match if the alias matches `name`
348
- #[ deprecated( note = "please use `children` to access the child selections instead" ) ]
349
347
fn has_child ( & self , name : & str ) -> bool {
350
- #[ allow( deprecated) ]
351
348
self . select_child ( name) . is_some ( )
352
349
}
353
350
@@ -366,7 +363,6 @@ pub trait LookAheadMethods<'sel, S> {
366
363
}
367
364
368
365
/// Get the (possibly aliased) names of the top level children for the current selection
369
- #[ deprecated( note = "please use `children` to access the child selections instead" ) ]
370
366
fn child_names ( & self ) -> Vec < & ' sel str > ;
371
367
372
368
/// Get an iterator over the children for the current selection
@@ -1307,7 +1303,6 @@ query Hero {
1307
1303
}
1308
1304
1309
1305
#[ test]
1310
- #[ allow( deprecated) ]
1311
1306
fn check_select_child ( ) {
1312
1307
let lookahead: LookAheadSelection < DefaultScalarValue > = LookAheadSelection {
1313
1308
name : "hero" ,
@@ -1459,7 +1454,6 @@ fragment heroFriendNames on Hero {
1459
1454
}
1460
1455
1461
1456
#[ test]
1462
- #[ allow( deprecated) ]
1463
1457
fn check_visitability ( ) {
1464
1458
let docs = parse_document_source :: < DefaultScalarValue > (
1465
1459
"
0 commit comments