mirror of
https://github.com/notohh/rustlings.git
synced 2024-11-25 14:57:32 -05:00
Update modules2.rs
Your wish seems to have been granted:) The compiler now says: error[E0603]: constant `democrat` is private
This commit is contained in:
parent
a87d43dc23
commit
06a46e0b5a
1 changed files with 0 additions and 3 deletions
|
@ -42,6 +42,3 @@ fn main() {
|
||||||
// its internal structure (the `democrats` and `republicans` modules and
|
// its internal structure (the `democrats` and `republicans` modules and
|
||||||
// associated constants). It's almost there except for one keyword missing for
|
// associated constants). It's almost there except for one keyword missing for
|
||||||
// each constant.
|
// each constant.
|
||||||
// One more hint: I wish the compiler error, instead of saying "unresolved name
|
|
||||||
// `us_presidential_frontrunners::democrat`", could say "constant
|
|
||||||
// `us_presidential_frontrunners::democrat` is private"!
|
|
Loading…
Reference in a new issue