Be stricter with lints in the rest of tests/*.rs.
This commit is contained in:
parent
118c634c2e
commit
7b7d562e76
@ -12,6 +12,26 @@
|
|||||||
// OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
|
// OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
|
||||||
// CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
// CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
|
|
||||||
|
#![forbid(
|
||||||
|
anonymous_parameters,
|
||||||
|
box_pointers,
|
||||||
|
fat_ptr_transmutes,
|
||||||
|
legacy_directory_ownership,
|
||||||
|
missing_copy_implementations,
|
||||||
|
missing_debug_implementations,
|
||||||
|
missing_docs,
|
||||||
|
trivial_casts,
|
||||||
|
trivial_numeric_casts,
|
||||||
|
unsafe_code,
|
||||||
|
unstable_features,
|
||||||
|
unused_extern_crates,
|
||||||
|
unused_import_braces,
|
||||||
|
unused_qualifications,
|
||||||
|
unused_results,
|
||||||
|
variant_size_differences,
|
||||||
|
warnings,
|
||||||
|
)]
|
||||||
|
|
||||||
extern crate ring;
|
extern crate ring;
|
||||||
|
|
||||||
use ring::{aead, error, test};
|
use ring::{aead, error, test};
|
||||||
|
@ -12,6 +12,26 @@
|
|||||||
// OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
|
// OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
|
||||||
// CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
// CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
|
|
||||||
|
#![forbid(
|
||||||
|
anonymous_parameters,
|
||||||
|
box_pointers,
|
||||||
|
fat_ptr_transmutes,
|
||||||
|
legacy_directory_ownership,
|
||||||
|
missing_copy_implementations,
|
||||||
|
missing_debug_implementations,
|
||||||
|
missing_docs,
|
||||||
|
trivial_casts,
|
||||||
|
trivial_numeric_casts,
|
||||||
|
unsafe_code,
|
||||||
|
unstable_features,
|
||||||
|
unused_extern_crates,
|
||||||
|
unused_import_braces,
|
||||||
|
unused_qualifications,
|
||||||
|
unused_results,
|
||||||
|
variant_size_differences,
|
||||||
|
warnings,
|
||||||
|
)]
|
||||||
|
|
||||||
extern crate ring;
|
extern crate ring;
|
||||||
|
|
||||||
use std::vec::Vec;
|
use std::vec::Vec;
|
||||||
|
@ -12,6 +12,26 @@
|
|||||||
// OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
|
// OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
|
||||||
// CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
// CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
|
|
||||||
|
#![forbid(
|
||||||
|
anonymous_parameters,
|
||||||
|
box_pointers,
|
||||||
|
fat_ptr_transmutes,
|
||||||
|
legacy_directory_ownership,
|
||||||
|
missing_copy_implementations,
|
||||||
|
missing_debug_implementations,
|
||||||
|
missing_docs,
|
||||||
|
trivial_casts,
|
||||||
|
trivial_numeric_casts,
|
||||||
|
unsafe_code,
|
||||||
|
unstable_features,
|
||||||
|
unused_extern_crates,
|
||||||
|
unused_import_braces,
|
||||||
|
unused_qualifications,
|
||||||
|
unused_results,
|
||||||
|
variant_size_differences,
|
||||||
|
warnings,
|
||||||
|
)]
|
||||||
|
|
||||||
extern crate ring;
|
extern crate ring;
|
||||||
extern crate untrusted;
|
extern crate untrusted;
|
||||||
|
|
||||||
|
@ -12,6 +12,26 @@
|
|||||||
// OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
|
// OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
|
||||||
// CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
// CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
|
|
||||||
|
#![forbid(
|
||||||
|
anonymous_parameters,
|
||||||
|
box_pointers,
|
||||||
|
fat_ptr_transmutes,
|
||||||
|
legacy_directory_ownership,
|
||||||
|
missing_copy_implementations,
|
||||||
|
missing_debug_implementations,
|
||||||
|
missing_docs,
|
||||||
|
trivial_casts,
|
||||||
|
trivial_numeric_casts,
|
||||||
|
unsafe_code,
|
||||||
|
unstable_features,
|
||||||
|
unused_extern_crates,
|
||||||
|
unused_import_braces,
|
||||||
|
unused_qualifications,
|
||||||
|
unused_results,
|
||||||
|
variant_size_differences,
|
||||||
|
warnings,
|
||||||
|
)]
|
||||||
|
|
||||||
extern crate ring;
|
extern crate ring;
|
||||||
extern crate untrusted;
|
extern crate untrusted;
|
||||||
|
|
||||||
|
@ -12,6 +12,26 @@
|
|||||||
// OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
|
// OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
|
||||||
// CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
// CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
|
|
||||||
|
#![forbid(
|
||||||
|
anonymous_parameters,
|
||||||
|
box_pointers,
|
||||||
|
fat_ptr_transmutes,
|
||||||
|
legacy_directory_ownership,
|
||||||
|
missing_copy_implementations,
|
||||||
|
missing_debug_implementations,
|
||||||
|
missing_docs,
|
||||||
|
trivial_casts,
|
||||||
|
trivial_numeric_casts,
|
||||||
|
unsafe_code,
|
||||||
|
unstable_features,
|
||||||
|
unused_extern_crates,
|
||||||
|
unused_import_braces,
|
||||||
|
unused_qualifications,
|
||||||
|
unused_results,
|
||||||
|
variant_size_differences,
|
||||||
|
warnings,
|
||||||
|
)]
|
||||||
|
|
||||||
extern crate ring;
|
extern crate ring;
|
||||||
|
|
||||||
use ring::{error, hkdf, hmac, test};
|
use ring::{error, hkdf, hmac, test};
|
||||||
|
@ -12,6 +12,26 @@
|
|||||||
// OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
|
// OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
|
||||||
// CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
// CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
|
|
||||||
|
#![forbid(
|
||||||
|
anonymous_parameters,
|
||||||
|
box_pointers,
|
||||||
|
fat_ptr_transmutes,
|
||||||
|
legacy_directory_ownership,
|
||||||
|
missing_copy_implementations,
|
||||||
|
missing_debug_implementations,
|
||||||
|
missing_docs,
|
||||||
|
trivial_casts,
|
||||||
|
trivial_numeric_casts,
|
||||||
|
unsafe_code,
|
||||||
|
unstable_features,
|
||||||
|
unused_extern_crates,
|
||||||
|
unused_import_braces,
|
||||||
|
unused_qualifications,
|
||||||
|
unused_results,
|
||||||
|
variant_size_differences,
|
||||||
|
warnings,
|
||||||
|
)]
|
||||||
|
|
||||||
extern crate ring;
|
extern crate ring;
|
||||||
|
|
||||||
use ring::{digest, error, hmac, test};
|
use ring::{digest, error, hmac, test};
|
||||||
|
@ -12,6 +12,26 @@
|
|||||||
// OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
|
// OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
|
||||||
// CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
// CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
|
|
||||||
|
#![forbid(
|
||||||
|
anonymous_parameters,
|
||||||
|
box_pointers,
|
||||||
|
fat_ptr_transmutes,
|
||||||
|
legacy_directory_ownership,
|
||||||
|
missing_copy_implementations,
|
||||||
|
missing_debug_implementations,
|
||||||
|
missing_docs,
|
||||||
|
trivial_casts,
|
||||||
|
trivial_numeric_casts,
|
||||||
|
unsafe_code,
|
||||||
|
unstable_features,
|
||||||
|
unused_extern_crates,
|
||||||
|
unused_import_braces,
|
||||||
|
unused_qualifications,
|
||||||
|
unused_results,
|
||||||
|
variant_size_differences,
|
||||||
|
warnings,
|
||||||
|
)]
|
||||||
|
|
||||||
extern crate ring;
|
extern crate ring;
|
||||||
|
|
||||||
use ring::{digest, error, pbkdf2, test};
|
use ring::{digest, error, pbkdf2, test};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user