{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreihrfpsh4vd5jwotw42umugyuh3wlhx24kl736vs6wm2scwjhjixwa",
"uri": "at://did:plc:ivbknywyskln22er3nkssdhl/app.bsky.feed.post/3molraninf5r2"
},
"path": "/t/code-compiles-on-playground-but-fails-when-passed-via-stdin-to-rustc/24393#post_11",
"publishedAt": "2026-06-18T20:34:44.000Z",
"site": "https://internals.rust-lang.org",
"tags": [
"github.com/rust-lang/rust",
"When compiling without a specified `--edition`, emit a note (#158102)",
"estebank",
"+178\n-43"
],
"textContent": "github.com/rust-lang/rust\n\n#### When compiling without a specified `--edition`, emit a note (#158102)\n\n`main` ← `estebank:note-default-edition`\n\nopened 08:28PM - 18 Jun 26 UTC\n\n\n\n estebank\n \n\n\n+178\n-43\n\n\nWould someone have the energy to write the MCP for merging this change? I believe that we _might_ have to coordinate with cargo (to ensure the edition is being passed in always).",
"title": "Code compiles on playground but fails when passed via stdin to rustc"
}