File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -444,9 +444,16 @@ pub mod builtin {
444444 #[ macro_export]
445445 macro_rules! cfg { ( $( $cfg: tt) * ) => ( { /* compiler built-in */ } ) }
446446
447- /// Parse the current given file as an expression.
448- ///
449- /// This is generally a bad idea, because it's going to behave unhygienically.
447+ /// Parse the file provided in the argument as an expression or an
448+ /// item according to the context. This file is located relative
449+ /// to the current file (similarly to how modules are found).
450+ ///
451+ /// Using this macro is often a bad idea, because if the file is
452+ /// parsed as an expression, it is going to be placed in the
453+ /// surrounding code unhygenically. This could result in variables
454+ /// or functions being different from what the file expected if
455+ /// there are variables or functions that have the same name in
456+ /// the current file.
450457 ///
451458 /// # Examples
452459 ///
You can’t perform that action at this time.
0 commit comments