(index: u32)
| 695 | |
| 696 | impl Expr { |
| 697 | pub fn tuple_index_string(index: u32) -> Option<String> { |
| 698 | match index { |
| 699 | 0 => Some("first".to_string()), |
| 700 | 1 => Some("second".to_string()), |
| 701 | 2 => Some("third".to_string()), |
| 702 | 3 => Some("fourth".to_string()), |
| 703 | 4 => Some("fifth".to_string()), |
| 704 | n => panic!("unsupported tuple index {}", n), |
| 705 | } |
| 706 | } |
| 707 | |
| 708 | pub fn find_at_position(&self, target: &Span) -> Option<Self> { |
| 709 | let res = match self { |
nothing calls this directly
no outgoing calls
no test coverage detected