Sign in
fuchsia
/
third_party
/
rust
/
f02ffb8b4ca760117875f3b5326e9cff6598dde3
/
.
/
src
/
test
/
ui
/
rfc-2091-track-caller
/
error-with-trait-decl.rs
blob: 4fd768d640a551532802cc0d74134a7fa4565d20 [
file
] [
log
] [
blame
]
#![
feature
(
track_caller
)]
//~ WARN the feature `track_caller` is incomplete
trait
Trait
{
#[
track_caller
]
//~ ERROR: `#[track_caller]` may not be used on trait methods
fn
unwrap
(&
self
);
}
impl
Trait
for
u64
{
fn
unwrap
(&
self
)
{}
}
fn
main
()
{}