]> git.lizzy.rs Git - rust.git/blob - src/librustc_error_codes/error_codes/E0648.md
Rollup merge of #62514 - stephaneyfx:box-ffi, r=nikomatsakis
[rust.git] / src / librustc_error_codes / error_codes / E0648.md
1 `export_name` attributes may not contain null characters (`\0`).
2
3 ```compile_fail,E0648
4 #[export_name="\0foo"] // error: `export_name` may not contain null characters
5 pub fn bar() {}
6 ```