luaur_analysis/methods/constraint_constraint_constraint.rs
1//! Source: `Analysis/include/Luau/Constraint.h:345` (hand-ported)
2impl crate::records::constraint::Constraint {
3 /// C++ `Constraint(const Constraint&) = delete;` — the deleted copy ctor
4 /// (the real ctor is `Constraint::constraint_not_null_scope_location_constraint_v`);
5 /// never callable in C++ either.
6 pub fn constraint_constraint() {
7 unreachable!("C++ Constraint copy-ctor is `= delete` — non-copyable, no call site")
8 }
9}