8573 / irc-bot.rs

A library for writing Internet Relay Chat (IRC) bots in the Rust programming language (@rust-lang).
Other
28 stars 13 forks source link

error[E0583]: file not found for module `pkg_info` #29

Closed booyaa closed 6 years ago

booyaa commented 6 years ago

I get the following error when trying to do cargo run

  --> src/core/mod.rs:58:5
   |
58 | mod pkg_info;
   |     ^^^^^^^^
   |
   = help: name the file either pkg_info.rs or pkg_info/mod.rs inside the directory "src/core"

error: aborting due to previous error

error: Could not compile `irc-bot`.

To learn more, run the command again with --verbose.

Tried using stable and nightly rustc to no avail:

 $ rustup show
Default host: x86_64-apple-darwin

installed toolchains
--------------------

stable-x86_64-apple-darwin (default)
nightly-x86_64-apple-darwin

active toolchain
----------------

stable-x86_64-apple-darwin (default)
rustc 1.24.0 (4d90ac38c 2018-02-12)
8573 commented 6 years ago

I forgot to add a file; apologies. Fixed in 1c3ad20352a8ec10fd5d233d8bd63eade0b804ca.