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
da1360d981
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 16:14:38 -05:00
impl
<
T
>
T
{
//~ ERROR E0118
rework error messages for incorrect inherent impls
2022-03-29 02:47:32 -05:00
fn
get_state
(
&
self
)
->
String
{
String
::
new
(
)
}
}
fn
main
(
)
{
}
Reference in New Issue
Copy Permalink