Originally, when the Rust upstream `alloc` standard library crate was
vendored in commit
057b8d257107 ("rust: adapt `alloc` crate to the
kernel"), the SPDX License Identifiers were added to every file so that
the license on those was clear.
Thus do the same for the `quote` crate.
This makes `scripts/spdxcheck.py` pass.
Reviewed-by: Gary Guo <gary@garyguo.net>
Tested-by: Gary Guo <gary@garyguo.net>
Tested-by: Jesung Yang <y.j3ms.n@gmail.com>
Link: https://patch.msgid.link/20251124151837.2184382-13-ojeda@kernel.org
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
+// SPDX-License-Identifier: Apache-2.0 OR MIT
+
use super::ToTokens;
use core::iter;
use proc_macro2::{TokenStream, TokenTree};
+// SPDX-License-Identifier: Apache-2.0 OR MIT
+
/// Formatting macro for constructing `Ident`s.
///
/// <br>
+// SPDX-License-Identifier: Apache-2.0 OR MIT
+
use alloc::borrow::Cow;
use core::fmt;
use proc_macro2::{Ident, Span};
+// SPDX-License-Identifier: Apache-2.0 OR MIT
+
//! [![github]](https://github.com/dtolnay/quote) [![crates-io]](https://crates.io/crates/quote) [![docs-rs]](https://docs.rs/quote)
//!
//! [github]: https://img.shields.io/badge/github-8da0cb?style=for-the-badge&labelColor=555555&logo=github
+// SPDX-License-Identifier: Apache-2.0 OR MIT
+
use self::get_span::{GetSpan, GetSpanBase, GetSpanInner};
use crate::{IdentFragment, ToTokens, TokenStreamExt};
use core::fmt;
+// SPDX-License-Identifier: Apache-2.0 OR MIT
+
use crate::ToTokens;
use proc_macro2::extra::DelimSpan;
use proc_macro2::{Span, TokenStream};
+// SPDX-License-Identifier: Apache-2.0 OR MIT
+
use super::TokenStreamExt;
use alloc::borrow::Cow;
use alloc::rc::Rc;