index
:
rust
this commit
auto
automation/bors/try
automation/bors/try-merge
beta
cargo_update
lcnr/rustc-dev-guide
master
perf-tmp
stable
try
try-perf
https://github.com/rust-lang/rust
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
tests
/
ui
/
issues
/
issue-50264-inner-deref-trait
/
result-as_deref.rs
blob: 4232f14d2d3d821f14e3cecf1459ed66e85bd6a1 (
plain
)
1
2
3
4
fn main() { let _result = &Ok(42).as_deref(); //~^ ERROR the method }