diff --git a/psl/diagnostics/src/warning.rs b/psl/diagnostics/src/warning.rs index ed9cb5e36ee..cd6e8e7b963 100644 --- a/psl/diagnostics/src/warning.rs +++ b/psl/diagnostics/src/warning.rs @@ -35,7 +35,7 @@ impl DatamodelWarning { span: Span, ) -> DatamodelWarning { let message = format!( - "Preview feature \"{deprecated_feature}\" has been renamed as \"{renamed_feature}\". Learn more at https://pris.ly/d/{prisly_link_endpoint}." + "Preview feature \"{deprecated_feature}\" has been renamed to \"{renamed_feature}\". Learn more at https://pris.ly/d/{prisly_link_endpoint}." ); Self::new(message, span) } @@ -48,7 +48,7 @@ impl DatamodelWarning { span: Span, ) -> DatamodelWarning { let message = format!( - "On `provider = \"{provider}\"`, preview feature \"{deprecated_feature}\" has been renamed as \"{renamed_feature}\". Learn more at https://pris.ly/d/{prisly_link_endpoint}." + "On `provider = \"{provider}\"`, preview feature \"{deprecated_feature}\" has been renamed to \"{renamed_feature}\". Learn more at https://pris.ly/d/{prisly_link_endpoint}." ); Self::new(message, span) } diff --git a/psl/psl/tests/validation/preview_features/old_full_text_search/postgres.prisma b/psl/psl/tests/validation/preview_features/old_full_text_search/postgres.prisma index b201290ed51..b587dea6791 100644 --- a/psl/psl/tests/validation/preview_features/old_full_text_search/postgres.prisma +++ b/psl/psl/tests/validation/preview_features/old_full_text_search/postgres.prisma @@ -14,7 +14,7 @@ model Blog { title String @@index([content, title]) } -// warning: On `provider = "postgresql"`, preview feature "fullTextSearch" has been renamed as "fullTextSearchPostgres". Learn more at https://pris.ly/d/fts-postgres. +// warning: On `provider = "postgresql"`, preview feature "fullTextSearch" has been renamed to "fullTextSearchPostgres". Learn more at https://pris.ly/d/fts-postgres. // --> schema.prisma:3 //  |  //  2 |  provider = "prisma-client-js" diff --git a/psl/psl/tests/validation/preview_features/old_full_text_search/postgresql.prisma b/psl/psl/tests/validation/preview_features/old_full_text_search/postgresql.prisma index eb73408f9ed..93fac8bf0d5 100644 --- a/psl/psl/tests/validation/preview_features/old_full_text_search/postgresql.prisma +++ b/psl/psl/tests/validation/preview_features/old_full_text_search/postgresql.prisma @@ -14,7 +14,7 @@ model Blog { title String @@index([content, title]) } -// warning: On `provider = "postgresql"`, preview feature "fullTextSearch" has been renamed as "fullTextSearchPostgres". Learn more at https://pris.ly/d/fts-postgres. +// warning: On `provider = "postgresql"`, preview feature "fullTextSearch" has been renamed to "fullTextSearchPostgres". Learn more at https://pris.ly/d/fts-postgres. // --> schema.prisma:3 //  |  //  2 |  provider = "prisma-client-js"