This website requires JavaScript.
Explore
Help
Register
Sign In
rust-lang
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Actions
1
Packages
Projects
Releases
Wiki
Activity
Files
4891d57f7aab37b5d6a84f2901c0bb8903111d53
rust
/
src
/
test
/
ui
/
impl-duplicate-methods.rs
10 lines
124 B
Rust
Raw
Normal View
History
Unescape
Escape
Add tests for duplicate methods on traits/impls.
2013-06-11 15:08:40 -04:00
struct
Foo
;
Show previous definition of duplicate impl item
2016-04-20 22:00:33 +09:00
Add tests for duplicate methods on traits/impls.
2013-06-11 15:08:40 -04:00
impl
Foo
{
Remove NOTE/HELP annotations from UI tests
2017-12-10 23:29:24 +03:00
fn
orange
(
&
self
)
{
}
Fixes #35304
2016-08-05 18:57:37 +03:00
fn
orange
(
&
self
)
{
}
//~^ ERROR duplicate definition
Add tests for duplicate methods on traits/impls.
2013-06-11 15:08:40 -04:00
}
fn
main
(
)
{
}
Reference in New Issue
Copy Permalink