]> git.lizzy.rs Git - rust.git/commit
Auto merge of #37186 - jonas-schievink:patch-1, r=brson
authorbors <bors@rust-lang.org>
Thu, 10 Nov 2016 22:28:03 +0000 (14:28 -0800)
committerGitHub <noreply@github.com>
Thu, 10 Nov 2016 22:28:03 +0000 (14:28 -0800)
commit1473007618e6ab85a994f86348acdaf125b7914f
tree857549c44de8e1e33fb8b1b00c3132793ef1e0f1
parent3dced6f71e6e8cf8f59e3614194a61427a3a408b
parentfb7a8294f898652482e4b4106143fac294d7af0d
Auto merge of #37186 - jonas-schievink:patch-1, r=brson

proc_macro_plugin: Wrap nonexistent filename in <>

I'm not sure how big of an issue this can become in practice, but `FileMap`s made from something that's not a file are supposed to wrap the file name in `<>`.

For an example fix, see kevinmehall/rust-peg@332fd4dbae19b64fb2af4b9d565e37a3703e7576. There, it caused cargo to always recompile a crate using rust-peg, even when nothing was changed, because cargo sees that the dummy file doesn't exist.