mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-20 19:47:33 +00:00
10 lines
363 B
Rust
10 lines
363 B
Rust
![]() |
#![no_std]
|
||
|
|
||
|
//@ is "$.index[*][?(@.name=='example')].attrs" '["#[must_use]"]'
|
||
|
#[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\"]"]'
|
||
|
#[must_use = "does nothing if you do not use it"]
|
||
|
pub fn explicit_message() -> impl Iterator<Item = i64> {}
|