This website requires JavaScript.
Explore
Help
Sign In
nordic-dev.net
/
rust
Watch
2
Star
0
Fork
0
You've already forked rust
mirror of
https://github.com/rust-lang/rust.git
synced
2025-05-06 15:07:36 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
7b8644e5cf
rust
/
tests
/
ui
/
error-codes
/
E0118.rs
8 lines
107 B
Rust
Raw
Normal View
History
Unescape
Escape
Improve the function pointer docs * Reduce duplicate impls; show only the `fn (T)` and include a sentence saying that there exists up to twelve of them. * Show `Copy` and `Clone`. * Show auto traits like `Send` and `Sync`, and blanket impls like `Any`.
2022-06-16 21:14:38 +00:00
impl
<
T
>
T
{
//~ ERROR E0118
rework error messages for incorrect inherent impls
2022-03-29 07:47:32 +00:00
fn
get_state
(
&
self
)
->
String
{
String
::
new
(
)
}
}
fn
main
(
)
{
}
Reference in New Issue
Copy Permalink