+2
-2
compiler-core/src/type_/tests/snapshots/gleam_core__type___tests__assert__bool_literal.snap
+2
-2
compiler-core/src/type_/tests/snapshots/gleam_core__type___tests__assert__bool_literal.snap
+2
-2
compiler-core/src/type_/tests/snapshots/gleam_core__type___tests__assert__negation_of_bool_literal.snap
+2
-2
compiler-core/src/type_/tests/snapshots/gleam_core__type___tests__assert__negation_of_bool_literal.snap
+2
-2
compiler-core/src/warning.rs
+2
-2
compiler-core/src/warning.rs
···
1262
1262
type_::Warning::AssertLiteralBool { location } => Diagnostic {
1263
1263
title: "Assertion of a literal value".into(),
1264
1264
text: wrap(
1265
-
"Asserting on a literal Boolean is redundant since you \
1266
-
can already tell whether it will be True or False.",
1265
+
"Asserting on a literal bool is redundant since you \
1266
+
can already tell whether it will be `True` or `False`.",
1267
1267
),
1268
1268
hint: None,
1269
1269
level: diagnostic::Level::Warning,