{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreie3gil7o25ld666ynd2qslcam6ftqzexekzt4l5tpgaeetk2qlm4e",
"uri": "at://did:plc:ivbknywyskln22er3nkssdhl/app.bsky.feed.post/3mo2wm2ktrkq2"
},
"path": "/t/code-compiles-on-playground-but-fails-when-passed-via-stdin-to-rustc/24393#post_9",
"publishedAt": "2026-06-12T03:03:46.000Z",
"site": "https://internals.rust-lang.org",
"textContent": "kpreid:\n\n> and each one would gain a new warning unless modified to set the edition.\n\nThe various suites can set default flags, so you could add a `-Z` flag to not do that warning that's passed by default. (Or if it's a lint just the existing allow-a-lint flag.)",
"title": "Code compiles on playground but fails when passed via stdin to rustc"
}