Skip to content

Commit b9c86a3

Browse files
authored
Rollup merge of rust-lang#68511 - tmiasko:ignore-license, r=alexcrichton
Remove unused ignore-license directives The tidy check was removed in rust-lang#53617
2 parents e22ae2c + 2fd6c4a commit b9c86a3

File tree

28 files changed

+1
-38
lines changed

28 files changed

+1
-38
lines changed

src/libstd/sys/cloudabi/abi/bitflags.rs

-3
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@
2121
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2222
// SUCH DAMAGE.
2323

24-
// Appease Rust's tidy.
25-
// ignore-license
26-
2724
#[cfg(feature = "bitflags")]
2825
use bitflags::bitflags;
2926

src/libstd/sys/cloudabi/abi/cloudabi.rs

-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
// Source: https://github.com/NuxiNL/cloudabi
2727

2828
// Appease Rust's tidy.
29-
// ignore-license
3029
// ignore-tidy-linelength
3130

3231
//! **PLEASE NOTE: This entire crate including this

src/test/pretty/top-level-doc-comments.rs

-5
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
/// Some doc comment.
22
struct X;
33

4-
// ignore-license
5-
6-
// http://rust-lang.org/COPYRIGHT.
7-
//
8-
94
// pp-exact
105

116
// Test that rust can properly pretty print a doc comment if it's the first line in a file. some

src/test/run-make-fulldeps/c-dynamic-dylib/cfoo.c

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// ignore-license
21
#ifdef _WIN32
32
__declspec(dllexport)
43
#endif

src/test/run-make-fulldeps/c-dynamic-rlib/cfoo.c

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// ignore-license
2-
31
#ifdef _WIN32
42
__declspec(dllexport)
53
#endif

src/test/run-make-fulldeps/c-link-to-rust-dylib/bar.c

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// ignore-license
21
void foo();
32

43
int main() {

src/test/run-make-fulldeps/c-link-to-rust-staticlib/bar.c

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// ignore-license
21
void foo();
32

43
int main() {
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
// ignore-license
21
int foo() { return 0; }
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
// ignore-license
21
int foo() { return 0; }

src/test/run-make-fulldeps/compiler-rt-works-on-mingw/foo.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// ignore-license
21
extern "C" void foo() {
32
int *a = new int(3);
43
delete a;

src/test/run-make-fulldeps/extern-fn-generic/test.c

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// ignore-license
21
#include <stdint.h>
32

43
typedef struct TestStruct {

src/test/run-make-fulldeps/extern-fn-mangle/test.c

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// ignore-license
21
#include <stdint.h>
32

43
uint32_t foo();

src/test/run-make-fulldeps/extern-fn-with-extern-types/ctest.c

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// ignore-license
21
#include <stdio.h>
32
#include <stdint.h>
43

src/test/run-make-fulldeps/extern-fn-with-packed-struct/test.c

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// ignore-license
21
// Pragma needed cause of gcc bug on windows: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52991
32

43
#include <assert.h>

src/test/run-make-fulldeps/extern-fn-with-union/ctest.c

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// ignore-license
21
#include <stdio.h>
32
#include <stdint.h>
43

src/test/run-make-fulldeps/glibc-staticlib-args/program.c

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// ignore-license
21
void args_check();
32

43
int main() {
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// ignore-license
21
void foo();
32

43
void bar() { foo(); }
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
// ignore-license
21
void foo() {}

src/test/run-make-fulldeps/issue-25581/test.c

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// ignore-license
21
#include <stddef.h>
32
#include <stdint.h>
43

Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
// ignore-license
21
int should_return_one() { return 1; }
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
// ignore-license
21
int should_return_one() { return 0; }

src/test/run-make-fulldeps/linkage-attr-on-static/foo.c

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// ignore-license
21
#include <stdint.h>
32

43
extern int32_t BAZ;

src/test/run-make-fulldeps/lto-smoke-c/bar.c

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// ignore-license
21
void foo();
32

43
int main() {
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
// ignore-license
21
void bar() {}
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
// ignore-license
21
void bar() {}

src/test/run-make-fulldeps/sanitizer-staticlib-link/program.c

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// ignore-license
21
void overflow();
32

43
int main() {

src/test/ui/attr-shebang.rs

-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,3 @@
33
#![allow(stable_features)]
44
#![feature(rust1)]
55
pub fn main() { }
6-
// ignore-license

src/test/ui/lexer-crlf-line-endings-string-literal-doc-comment.rs

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
// run-pass
2-
// ignore-tidy-cr ignore-license
2+
// ignore-tidy-cr
33
// ignore-tidy-cr (repeated again because of tidy bug)
44
// license is ignored because tidy can't handle the CRLF here properly.
55

6-
// http://rust-lang.org/COPYRIGHT.
7-
//
8-
96
// N.B., this file needs CRLF line endings. The .gitattributes file in
107
// this directory should enforce it.
118

0 commit comments

Comments
 (0)