diff options
| author | Chris Denton <chris@chrisdenton.dev> | 2025-04-23 00:43:08 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-23 00:43:08 +0000 |
| commit | ecb9775438ecb6fd0e00c0acdbbb0525ed3c8b74 (patch) | |
| tree | a4a447fa95c4c2ade650f26ed074e4341ece4962 /compiler/rustc_codegen_cranelift/example/std_example.rs | |
| parent | 45b5d8bb5a49a16b7a1d61b610f7142ea694aa9c (diff) | |
| parent | 44b19e5fe7c0fe91b4aa8a09c673b340f3177c64 (diff) | |
| download | rust-ecb9775438ecb6fd0e00c0acdbbb0525ed3c8b74.tar.gz rust-ecb9775438ecb6fd0e00c0acdbbb0525ed3c8b74.zip | |
Rollup merge of #140175 - Kivooeo:new-fix-one, r=compiler-errors
`rc""` more clear error message here is small fix that provides better error message when user is trying to use `rc""` the same way it was made for `rb""` example of it's work ```rust | 2 | rc"\n"; | ^^ unknown prefix | = note: prefixed identifiers and literals are reserved since Rust 2021 help: use `cr` for a raw C-string | 2 - rc"\n"; 2 + cr"\n"; | ``` **related issue** fixes #140170 cc `@cyrgani` (issue author)
Diffstat (limited to 'compiler/rustc_codegen_cranelift/example/std_example.rs')
0 files changed, 0 insertions, 0 deletions
