Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/third_party/rust/thiserror/tests/ui/   (Browser von der Mozilla Stiftung Version 136.0.1©)  Datei vom 10.2.2025 mit Größe 275 B image not shown  

Quelle  no-display.rs   Sprache: unbekannt

 
use thiserror::Error;

#[derive(Debug)]
struct NoDisplay;

#[derive(Error, Debug)]
#[error("thread: {thread}")]
pub struct Error {
    thread: NoDisplay,
}

#[derive(Error, Debug)]
#[error("thread: {thread:o}")]
pub struct ErrorOctal {
    thread: NoDisplay,
}

fn main() {}

[ Dauer der Verarbeitung: 0.10 Sekunden  (vorverarbeitet)  ]