Flag unsafe blocks from format! as compiler-generated
This commit is contained in:
parent
19a6fabad8
commit
11e9c48353
5 changed files with 21 additions and 5 deletions
|
|
@ -632,7 +632,7 @@ impl Context {
|
|||
stmts: ~[],
|
||||
expr: Some(result),
|
||||
id: ast::DUMMY_NODE_ID,
|
||||
rules: ast::UnsafeBlock,
|
||||
rules: ast::UnsafeBlock(ast::CompilerGenerated),
|
||||
span: self.fmtsp,
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue