Rollup merge of #151702 - xtqqczze:omit-copyright-notice, r=jieyouxu

Omit standard copyright notice

Remove copyright notices for files licensed under the standard terms (MIT OR Apache-2.0).
This commit is contained in:
Stuart Cook 2026-01-27 17:36:37 +11:00 committed by GitHub
commit 6ec16a4099
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 2 additions and 15 deletions

View file

@ -53,7 +53,7 @@ path = [
]
precedence = "override"
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]]
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]
#![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 -->
In the past, files began with a copyright and license notice.
Please **omit** this notice for new files licensed under the standard terms (dual
MIT/Apache-2.0).
Please **omit** this notice for new files licensed under the standard terms (MIT OR Apache-2.0).
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.

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)]
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
// intermediate scratch values during brace-less match arms need to be
// 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;
enum Tag<A> {