Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/third_party/rust/ref-cast/tests/ui/   (Firefox Browser Version 153.0.1©)  Datei vom 27.6.2026 mit Größe 453 B image not shown  

Quelle  function-body.stderr   Sprache: unbekannt

 
Spracherkennung für: .stderr vermutete Sprache: Unknown {[0] [0] [0]} [Methode: Schwerpunktbildung, einfache Gewichte, sechs Dimensionen]

error: expected `;`
 --> tests/ui/function-body.rs:9:42
  |
9 |     pub fn ref_cast(s: &String) -> &Self {}
  |                                          ^

error[E0308]: mismatched types
 --> tests/ui/function-body.rs:9:36
  |
9 |     pub fn ref_cast(s: &String) -> &Self {}
  |            --------                ^^^^^ expected `&Thing`, found `()`
  |            |
  |            implicitly returns `()` as its body has no tail or `return` expression

[Dauer der Verarbeitung: 0.33 Sekunden]