MCPcopy Create free account
hub / github.com/LPC4/Full-Stack / string_literal_indexes_bytes

Function string_literal_indexes_bytes

tests/integration/hll_conformance.rs:2143–2154  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2141#[test]
2142fn try_rejects_incompatible_error_type() {
2143 assert_compile_fails(
2144 r#"
2145parse: () -> Result<i32, i64> {
2146 return Err(1)
2147}
2148
2149run: () -> Result<i32, i32> {
2150 value := parse()?
2151 return Ok(value)
2152}
2153
2154main: () -> i32 {
2155 return 0
2156}
2157"#,

Callers

nothing calls this directly

Calls 1

assert_exitFunction · 0.85

Tested by

no test coverage detected