Get rid of unsafe code in the interpreter (#303)

* Get rid of unsafe code unless really necessary

* Add lint levels where appropriate

Some crates (air-beautifier, air-testing-framework) have lot of
rust_2018_idioms violations, that will be resolved later.
This commit is contained in:
Ivan Boldyrev
2022-09-05 20:03:30 +03:00
committed by GitHub
parent 1cb6901caa
commit 619e8829a9
19 changed files with 113 additions and 48 deletions

View File

@ -14,6 +14,7 @@
* limitations under the License.
*/
#![forbid(unsafe_code)]
#![warn(rust_2018_idioms)]
#![deny(
dead_code,