This website requires JavaScript.
Explore
Help
Sign in
bjoernager
/
rust
Watch
1
Fork
You've already forked rust
0
Code
Activity
2e79c8deb0
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 14:14:38 -07:00
impl
<
T
>
T
{
//~ ERROR E0118
rework error messages for incorrect inherent impls
2022-03-29 09:47:32 +02:00
fn
get_state
(
&
self
)
->
String
{
String
::
new
(
)
}
}
fn
main
(
)
{
}
Copy permalink