mirror of
https://github.com/github/codeql.git
synced 2026-05-02 12:15:17 +02:00
Rust: move to Label<T> and mark unsafety of from_untyped
This commit is contained in:
@@ -20,7 +20,7 @@ def _get_type(t: str) -> str:
|
||||
case "int":
|
||||
return "usize"
|
||||
case _ if t[0].isupper():
|
||||
return f"{t}TrapLabel"
|
||||
return f"trap::Label<{t}>"
|
||||
case "boolean":
|
||||
assert False, "boolean unsupported"
|
||||
case _:
|
||||
|
||||
Reference in New Issue
Block a user