Added a very rudimentary file I/O system suitable for experimenting with the language further. A better one will be designed when we have sensible error management.
21 lines
644 B
Rust
21 lines
644 B
Rust
//! Various errors the pipeline can produce
|
|
mod import_all;
|
|
mod no_targets;
|
|
mod not_exported;
|
|
mod conflicting_roles;
|
|
mod parse_error_with_tokens;
|
|
mod project_error;
|
|
mod too_many_supers;
|
|
mod unexpected_directory;
|
|
mod visibility_mismatch;
|
|
|
|
pub use conflicting_roles::ConflictingRoles;
|
|
pub use import_all::ImportAll;
|
|
pub use no_targets::NoTargets;
|
|
pub use not_exported::NotExported;
|
|
pub use parse_error_with_tokens::ParseErrorWithTokens;
|
|
pub use project_error::{ErrorPosition, ProjectError, ProjectResult};
|
|
pub use too_many_supers::TooManySupers;
|
|
pub use unexpected_directory::UnexpectedDirectory;
|
|
pub use visibility_mismatch::VisibilityMismatch;
|