mirror of
https://github.com/servo/servo.git
synced 2025-08-04 05:00:08 +01:00
Unpaired surrogates: Document the -Z flag in the panic message.
This commit is contained in:
parent
e4dc608c0a
commit
a5b6cb6b43
1 changed files with 2 additions and 1 deletions
|
@ -373,7 +373,8 @@ pub fn jsstring_to_str(cx: *mut JSContext, s: *mut JSString) -> DOMString {
|
||||||
error!(message!());
|
error!(message!());
|
||||||
s.push('\u{FFFD}');
|
s.push('\u{FFFD}');
|
||||||
} else {
|
} else {
|
||||||
panic!(message!());
|
panic!(concat!(message!(), " Use `-Z replace-surrogates` \
|
||||||
|
on the command line to make this non-fatal."));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue