MCPcopy Create free account
hub / github.com/hashintel/hash / main

Function main

libs/error-stack/examples/parse_config.rs:43–51  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

41}
42
43fn main() {
44 if let Err(report) = parse_config("config.json") {
45 eprintln!("{report:?}");
46 #[cfg(nightly)]
47 for suggestion in report.request_ref::<Suggestion>() {
48 eprintln!("Suggestion: {}", suggestion.0);
49 }
50 }
51}

Callers

nothing calls this directly

Calls 1

parse_configFunction · 0.70

Tested by

no test coverage detected