1
Fork 0

syntax: #[allow_internal_unsafe] bypasses the unsafe_code lint in macros.

This commit is contained in:
Eduard-Mihai Burtescu 2017-08-08 18:21:20 +03:00
parent 2fa5340318
commit 8a4facc3c3
18 changed files with 155 additions and 31 deletions

View file

@ -291,6 +291,7 @@ fn generate_test_harness(sess: &ParseSess,
format: MacroAttribute(Symbol::intern("test")),
span: None,
allow_internal_unstable: true,
allow_internal_unsafe: false,
}
});