Skip to content

Commit

Permalink
Allow various name convention lints.
Browse files Browse the repository at this point in the history
  • Loading branch information
pnkfelix committed Sep 6, 2018
1 parent f3b766d commit 84a02e1
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/test/ui/run-pass/ctfe/mozjs-error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
// except according to those terms.

// run-pass
#![allow(non_upper_case_globals)]

struct CustomAutoRooterVFTable {
trace: unsafe extern "C" fn(this: *mut i32, trc: *mut u32),
Expand Down
1 change: 1 addition & 0 deletions src/test/ui/run-pass/uniform-paths/basic-nested.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
// except according to those terms.

// run-pass
#![allow(non_camel_case_types)]

// edition:2018

Expand Down
1 change: 1 addition & 0 deletions src/test/ui/run-pass/uniform-paths/basic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
// except according to those terms.

// run-pass
#![allow(non_camel_case_types)]

// edition:2018

Expand Down
1 change: 1 addition & 0 deletions src/test/ui/run-pass/uniform-paths/macros-nested.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
// except according to those terms.

// run-pass
#![allow(non_camel_case_types)]

// edition:2018

Expand Down
1 change: 1 addition & 0 deletions src/test/ui/run-pass/uniform-paths/macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
// except according to those terms.

// run-pass
#![allow(non_camel_case_types)]

// edition:2018

Expand Down
1 change: 1 addition & 0 deletions src/test/ui/run-pass/union/union-c-interop.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
// except according to those terms.

// run-pass
#![allow(non_snake_case)]

// ignore-wasm32-bare no libc to test ffi with

Expand Down
1 change: 1 addition & 0 deletions src/test/ui/run-pass/union/union-packed.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
// except according to those terms.

// run-pass
#![allow(non_snake_case)]

#![feature(untagged_unions)]
#![feature(repr_packed)]
Expand Down

0 comments on commit 84a02e1

Please sign in to comment.