@@ -1070,8 +1070,10 @@ pub(crate) mod builtin {
10701070
10711071 /// Includes a utf8-encoded file as a string.
10721072 ///
1073- /// The file is located relative to the current file. (similarly to how
1074- /// modules are found)
1073+ /// The file is located relative to the current file (similarly to how
1074+ /// modules are found). The provided path is interpreted in a platform-specific
1075+ /// way at compile time. So, for instance, an invocation with a Windows path
1076+ /// containing backslashes `\` would not compile correctly on Unix.
10751077 ///
10761078 /// This macro will yield an expression of type `&'static str` which is the
10771079 /// contents of the file.
@@ -1108,8 +1110,10 @@ pub(crate) mod builtin {
11081110
11091111 /// Includes a file as a reference to a byte array.
11101112 ///
1111- /// The file is located relative to the current file. (similarly to how
1112- /// modules are found)
1113+ /// The file is located relative to the current file (similarly to how
1114+ /// modules are found). The provided path is interpreted in a platform-specific
1115+ /// way at compile time. So, for instance, an invocation with a Windows path
1116+ /// containing backslashes `\` would not compile correctly on Unix.
11131117 ///
11141118 /// This macro will yield an expression of type `&'static [u8; N]` which is
11151119 /// the contents of the file.
@@ -1202,7 +1206,9 @@ pub(crate) mod builtin {
12021206 /// Parses a file as an expression or an item according to the context.
12031207 ///
12041208 /// The file is located relative to the current file (similarly to how
1205- /// modules are found).
1209+ /// modules are found). The provided path is interpreted in a platform-specific
1210+ /// way at compile time. So, for instance, an invocation with a Windows path
1211+ /// containing backslashes `\` would not compile correctly on Unix.
12061212 ///
12071213 /// Using this macro is often a bad idea, because if the file is
12081214 /// parsed as an expression, it is going to be placed in the
0 commit comments