• Home
  • Raw
  • Download

Lines Matching refs:Label

1 use codespan_reporting::diagnostic::{Diagnostic, Label};
138 Label::primary(file_id1, 71..72)
140 Label::secondary(file_id1, 64..65)
142 Label::secondary(file_id1, 66..70)
246 Label::primary(file_id1, 129..139)
248 Label::secondary(file_id1, 119..140)
255 Label::primary(file_id2, 17..18)
257 Label::secondary(file_id2, 17..18)
264 Label::primary(file_id2, 49..50)
266 Label::primary(file_id2, 52..53)
268 Label::secondary(file_id2, 48..54)
275 Label::primary(file_id4, 339..352)
277 Label::secondary(file_id4, 353..416)
279 Label::secondary(file_id3, 141..145)
397 .with_labels(vec![Label::primary((), 6..6).with_message("middle")]),
400 .with_labels(vec![Label::primary((), 12..12).with_message("end of line")]),
403 .with_labels(vec![Label::primary((), 23..23).with_message("end of line")]),
406 .with_labels(vec![Label::primary((), eof..eof).with_message("end of file")]),
432 Label::primary((), 4..4).with_message("Unexpected '{'"),
433 Label::secondary((), 4..4).with_message("Expected '('"),
498 … .with_labels(vec![Label::primary(file_id1, 96..102).with_message("unknown builtin")])
505 … .with_labels(vec![Label::primary(file_id1, 285..289).with_message("unused parameter")])
512Label::primary(file_id2, 37..44).with_message("expected `Nat`, found `String`"),
513Label::secondary(file_id1, 130..155).with_message("based on the definition of `_+_`"),
572Label::primary(file_id, 163..166).with_message("expected `String`, found `Nat`"),
573Label::secondary(file_id, 62..166).with_message("`case` clauses have incompatible types"),
574Label::secondary(file_id, 41..47).with_message("expected type `String` found here"),
587Label::primary(file_id, 328..331).with_message("expected `String`, found `Nat`"),
588Label::secondary(file_id, 211..331).with_message("`case` clauses have incompatible types"),
589Label::secondary(file_id, 258..268).with_message("this is found to be of type `String`"),
590Label::secondary(file_id, 284..290).with_message("this is found to be of type `String`"),
591Label::secondary(file_id, 306..312).with_message("this is found to be of type `String`"),
592Label::secondary(file_id, 186..192).with_message("expected type `String` found here"),
639Label::secondary((), 89..134).with_message("this is found to be of type `Result<ByteIndex, LineInd…
640Label::primary((), 230..351).with_message("expected enum `Result`, found struct `LineIndexOutOfBou…
641Label::secondary((), 8..362).with_message("`match` arms have incompatible types"),
642Label::secondary((), 167..195).with_message("this is found to be of type `Result<ByteIndex, LineIn…
686 .with_labels(vec![Label::primary(file_id, 29..35).with_message("the weapon")]),
689 … .with_labels(vec![Label::primary(file_id, 58..73).with_message("the condition")]),
692 .with_labels(vec![Label::primary(file_id, 75..78).with_message("the field")]),
756 .map(|range| Label::primary(file_id, range))
824 Label::primary((), prefix.len()..(prefix.len() + abi.len()))
888 Label::primary((), invalid_start..invalid_end)
894 Label::secondary((), invalid_start.."��".len())
900 Label::secondary((), "����".len().."������".len() - 1)
906 Label::secondary((), invalid_start.."������".len() - 1)
940 Label::primary((), 45..57)
942 Label::secondary((), 0..12)
1009 Label::primary(file_id1, 0..23),
1010Label::secondary(file_id1, 15..21).with_message("content should be in here"),
1016 Label::primary(file_id2, 17..80).with_message("expected (), found integer"),
1017 Label::secondary(file_id2, 55..55).with_message("missing whitespace"),