We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5dc7b11 commit 647c52cCopy full SHA for 647c52c
1 file changed
src/builtins/runtime/core.rs
@@ -910,6 +910,14 @@ mod tests {
910
assert_eq!(BuiltinFunction::from_call_index(index), Some(builtin));
911
}
912
assert_eq!(BUILTIN_CALL_COUNT, 89);
913
+ for name in ["__bind_callable", "__detach_local"] {
914
+ assert!(
915
+ !crate::builtins::language_builtin_specs()
916
+ .iter()
917
+ .any(|spec| spec.name == name),
918
+ "internal callable metadata operation must not be language-visible: {name}"
919
+ );
920
+ }
921
for alias in BUILTIN_CALL_BASE + 89..=BUILTIN_CALL_BASE + 92 {
922
assert_eq!(BuiltinFunction::from_call_index(alias), None);
923
0 commit comments