mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Disabled unsafe using lint level.
This commit is contained in:
@ -1,3 +1,5 @@
|
|||||||
|
#![deny(unsafe_code)]
|
||||||
|
|
||||||
use client::{Client, Event};
|
use client::{Client, Event};
|
||||||
use common::{clock::Clock, comp};
|
use common::{clock::Clock, comp};
|
||||||
use log::{error, info};
|
use log::{error, info};
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
#![deny(unsafe_code)]
|
||||||
#![feature(label_break_value, duration_float, euclidean_division)]
|
#![feature(label_break_value, duration_float, euclidean_division)]
|
||||||
|
|
||||||
pub mod error;
|
pub mod error;
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
#![deny(unsafe_code)]
|
||||||
#![type_length_limit = "1664759"]
|
#![type_length_limit = "1664759"]
|
||||||
#![feature(
|
#![feature(
|
||||||
euclidean_division,
|
euclidean_division,
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
#![deny(unsafe_code)]
|
||||||
|
|
||||||
use common::clock::Clock;
|
use common::clock::Clock;
|
||||||
use heaptrack::track_mem;
|
use heaptrack::track_mem;
|
||||||
use log::info;
|
use log::info;
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
#![deny(unsafe_code)]
|
||||||
#![feature(drain_filter, bind_by_move_pattern_guards)]
|
#![feature(drain_filter, bind_by_move_pattern_guards)]
|
||||||
|
|
||||||
pub mod auth_provider;
|
pub mod auth_provider;
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
#![deny(unsafe_code)]
|
||||||
#![feature(duration_float, drain_filter)]
|
#![feature(duration_float, drain_filter)]
|
||||||
#![recursion_limit = "2048"]
|
#![recursion_limit = "2048"]
|
||||||
|
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
#![deny(unsafe_code)]
|
||||||
#![feature(euclidean_division, bind_by_move_pattern_guards, option_flattening)]
|
#![feature(euclidean_division, bind_by_move_pattern_guards, option_flattening)]
|
||||||
|
|
||||||
mod all;
|
mod all;
|
||||||
|
Reference in New Issue
Block a user