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-04-28 19:17:43 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
master
rust
/
tests
/
ui
/
traits
/
impl-for-module.rs
12 lines
94 B
Rust
Raw
Permalink
Normal View
History
Unescape
Escape
Fix issue #8763 * added case & better error message for "impl trait for module" * used better way to print the module * switched from //error-pattern to //~ ERROR * added compile-fail test trait-impl-for-module.rs * revised compile-fail test trait-or-new-type-instead (the error message for the modified test is still unclear, but that's a different bug) * added FIXME to trait-or-new-type-instead
2013-11-14 03:29:37 +00:00
mod
a
{
}
trait
A
{
}
resolve: Rewrite resolve_pattern
2016-06-03 20:15:00 +00:00
impl
A
for
a
{
//~ ERROR expected type, found module
Fix issue #8763 * added case & better error message for "impl trait for module" * used better way to print the module * switched from //error-pattern to //~ ERROR * added compile-fail test trait-impl-for-module.rs * revised compile-fail test trait-or-new-type-instead (the error message for the modified test is still unclear, but that's a different bug) * added FIXME to trait-or-new-type-instead
2013-11-14 03:29:37 +00:00
}
fn
main
(
)
{
}
Reference in New Issue
Copy Permalink