Skip to content

Commit

Permalink
Merge pull request #1475 from dtolnay/litcstr
Browse files Browse the repository at this point in the history
Support parsing c-str literals
  • Loading branch information
dtolnay committed Jun 24, 2023
2 parents cdacef7 + fe0042e commit 62bd232
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 25 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Expand Up @@ -35,7 +35,7 @@ proc-macro = ["proc-macro2/proc-macro", "quote/proc-macro"]
test = ["syn-test-suite/all-features"]

[dependencies]
proc-macro2 = { version = "1.0.61", default-features = false }
proc-macro2 = { version = "1.0.62", default-features = false }
quote = { version = "1.0.28", optional = true, default-features = false }
unicode-ident = "1"

Expand Down
24 changes: 0 additions & 24 deletions tests/repo/mod.rs
Expand Up @@ -17,30 +17,6 @@ const REVISION: &str = "fe7454bf439c93cbe9ac8a8f7fcfacd5a40244c2";

#[rustfmt::skip]
static EXCLUDE_FILES: &[&str] = &[
// TODO: c"string" CStr literals
// https://github.com/rust-lang/rust/issues/105723
"compiler/rustc_codegen_llvm/src/allocator.rs",
"compiler/rustc_codegen_llvm/src/back/lto.rs",
"compiler/rustc_codegen_llvm/src/back/write.rs",
"compiler/rustc_codegen_llvm/src/base.rs",
"compiler/rustc_codegen_llvm/src/builder.rs",
"compiler/rustc_codegen_llvm/src/consts.rs",
"compiler/rustc_codegen_llvm/src/context.rs",
"compiler/rustc_codegen_llvm/src/debuginfo/gdb.rs",
"compiler/rustc_codegen_llvm/src/debuginfo/metadata.rs",
"compiler/rustc_codegen_llvm/src/debuginfo/mod.rs",
"library/std/src/sys/unix/args.rs",
"library/std/src/sys/unix/fs.rs",
"library/std/src/sys/unix/mod.rs",
"library/std/src/sys/unix/process/process_common.rs",
"library/std/src/sys/unix/thread.rs",
"library/std/src/sys/windows/c.rs",
"library/std/src/sys/windows/compat.rs",
"library/std/src/sys/windows/mod.rs",
"src/tools/rust-analyzer/crates/parser/test_data/parser/inline/ok/0085_expr_literals.rs",
"tests/ui/rfcs/rfc-3348-c-string-literals/basic.rs",
"tests/ui/rfcs/rfc-3348-c-string-literals/non-ascii.rs",

// TODO: non-lifetime binders: `where for<'a, T> &'a Struct<T>: Trait`
// https://github.com/dtolnay/syn/issues/1435
"tests/rustdoc-json/non_lifetime_binders.rs",
Expand Down

0 comments on commit 62bd232

Please sign in to comment.