mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-04 03:07:25 +00:00

Escape "special characters" (e.g., double quotes `"` and line breaks `\n`). Escape HTML. Lastly, add regression tests and clean up existing tests.
12 lines
207 B
Rust
12 lines
207 B
Rust
#[unsafe(no_mangle)]
|
|
pub fn no_mangle() {}
|
|
|
|
#[unsafe(link_section = ".here")]
|
|
pub fn link_section() {}
|
|
|
|
#[unsafe(export_name = "exonym")]
|
|
pub fn export_name() {}
|
|
|
|
#[non_exhaustive]
|
|
pub struct NonExhaustive;
|