Omit standard copyright notice

Remove copyright notices for files licensed under the standard terms (MIT OR Apache-2.0).
This commit is contained in:
xtqqczze 2026-01-26 17:31:34 +00:00
parent db6bc0f6a4
commit abcd22d5ed
6 changed files with 2 additions and 15 deletions

View file

@ -53,7 +53,7 @@ path = [
] ]
precedence = "override" precedence = "override"
SPDX-FileCopyrightText = "The Rust Project Developers (see https://thanks.rust-lang.org)" SPDX-FileCopyrightText = "The Rust Project Developers (see https://thanks.rust-lang.org)"
SPDX-License-Identifier = "MIT or Apache-2.0" SPDX-License-Identifier = "MIT OR Apache-2.0"
[[annotations]] [[annotations]]
path = "compiler/rustc_llvm/llvm-wrapper/SymbolWrapper.cpp" path = "compiler/rustc_llvm/llvm-wrapper/SymbolWrapper.cpp"

View file

@ -1,6 +1,3 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
// SPDX-FileCopyrightText: The Rust Project Developers (see https://thanks.rust-lang.org)
#![no_std] #![no_std]
#![feature(allocator_api, rustc_private)] #![feature(allocator_api, rustc_private)]

View file

@ -76,8 +76,7 @@ These use a pinned version of `ruff`, to avoid relying on the local environment.
<!-- REUSE-IgnoreEnd --> <!-- REUSE-IgnoreEnd -->
In the past, files began with a copyright and license notice. In the past, files began with a copyright and license notice.
Please **omit** this notice for new files licensed under the standard terms (dual Please **omit** this notice for new files licensed under the standard terms (MIT OR Apache-2.0).
MIT/Apache-2.0).
All of the copyright notices should be gone by now, but if you come across one All of the copyright notices should be gone by now, but if you come across one
in the rust-lang/rust repo, feel free to open a PR to remove it. in the rust-lang/rust repo, feel free to open a PR to remove it.

View file

@ -1,6 +1,3 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
// SPDX-FileCopyrightText: The Rust Project Developers (see https://thanks.rust-lang.org)
#![feature(core_intrinsics, funnel_shifts)] #![feature(core_intrinsics, funnel_shifts)]
use std::intrinsics::*; use std::intrinsics::*;

View file

@ -1,6 +1,3 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
// SPDX-FileCopyrightText: The Rust Project Developers (see https://thanks.rust-lang.org)
// Regression test for Issue #30530: alloca's created for storing // Regression test for Issue #30530: alloca's created for storing
// intermediate scratch values during brace-less match arms need to be // intermediate scratch values during brace-less match arms need to be
// initialized with their drop-flag set to "dropped" (or else we end // initialized with their drop-flag set to "dropped" (or else we end

View file

@ -1,6 +1,3 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
// SPDX-FileCopyrightText: The Rust Project Developers (see https://thanks.rust-lang.org)
use std::mem; use std::mem;
enum Tag<A> { enum Tag<A> {