mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-17 06:16:26 +00:00
10 lines
361 B
Rust
10 lines
361 B
Rust
#![no_std]
|
|
|
|
//@ is "$.index[?(@.name=='example')].attrs" '["#[must_use]\n"]'
|
|
#[must_use]
|
|
pub fn example() -> impl Iterator<Item = i64> {}
|
|
|
|
//@ is "$.index[?(@.name=='explicit_message')].attrs" '["#[must_use = \"does nothing if you do not use it\"]\n"]'
|
|
#[must_use = "does nothing if you do not use it"]
|
|
pub fn explicit_message() -> impl Iterator<Item = i64> {}
|