]> git.lizzy.rs Git - rust.git/blob - src/tools/rustfmt/tests/target/format_strings/issue-687.rs
Auto merge of #84876 - alexcrichton:inline-thread-locals-cross-crate, r=Mark-Simulacrum
[rust.git] / src / tools / rustfmt / tests / target / format_strings / issue-687.rs
1 // rustfmt-format_strings: true
2
3 fn foo() -> &'static str {
4     let sql = "ATTACH DATABASE ':memory:' AS my_attached;
5                BEGIN;
6                CREATE TABLE my_attached.foo(x INTEGER);
7                INSERT INTO my_attached.foo VALUES(42);
8                END;";
9     sql
10 }