This website requires JavaScript.
Explore
Help
Register
Sign In
mikros
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
60da5de1c6
rust
/
tests
/
ui
/
issues
/
issue-50264-inner-deref-trait
/
result-as_deref.rs
5 lines
74 B
Rust
Raw
Normal View
History
Unescape
Escape
renamed `inner_deref` feature's `deref*()` methods `as_deref*()` as per discussion https://github.com/rust-lang/rust/issues/50264
2019-04-01 14:08:19 -05:00
fn
main
(
)
{
let
_result
=
&
Ok
(
42
)
.
as_deref
(
)
;
Avoid describing a method as 'not found' when bounds are unsatisfied Fixes #76267 When there is a single applicable method candidate, but its trait bounds are not satisfied, we avoid saying that the method is "not found". Insted, we update the error message to directly mention which bounds are not satisfied, rather than mentioning them in a note.
2020-09-26 16:20:14 -05:00
//~^ ERROR the method
renamed `inner_deref` feature's `deref*()` methods `as_deref*()` as per discussion https://github.com/rust-lang/rust/issues/50264
2019-04-01 14:08:19 -05:00
}
Reference in New Issue
Copy Permalink