Skip to content

Commit

Permalink
fix: Compiler version error message (#3558)
Browse files Browse the repository at this point in the history
  • Loading branch information
theforager authored Nov 24, 2023
1 parent a5f6a18 commit 026a358
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tooling/nargo_toml/src/errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ pub enum ManifestError {

#[derive(Error, Debug, PartialEq, Eq, Clone)]
pub enum SemverError {
#[error("Incompatible compiler version in package {package_name}. Required compiler version is {required_compiler_version} but the compiler version is {compiler_version_found}.\n Update the compiler_version field in Nargo.toml to >={compiler_version_found} or compile this project with version {compiler_version_found}")]
#[error("Incompatible compiler version in package {package_name}. Required compiler version is {required_compiler_version} but the compiler version is {compiler_version_found}.\n Update the compiler_version field in Nargo.toml to >={required_compiler_version} or compile this project with version {required_compiler_version}")]
IncompatibleVersion {
package_name: CrateName,
required_compiler_version: String,
Expand Down

0 comments on commit 026a358

Please sign in to comment.