about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/librustc_metadata/diagnostics.rs7
-rw-r--r--src/librustc_typeck/diagnostics.rs4
-rw-r--r--src/libsyntax/diagnostic_list.rs10
3 files changed, 11 insertions, 10 deletions
diff --git a/src/librustc_metadata/diagnostics.rs b/src/librustc_metadata/diagnostics.rs
index e327be3d503..6cf1a9e8a39 100644
--- a/src/librustc_metadata/diagnostics.rs
+++ b/src/librustc_metadata/diagnostics.rs
@@ -57,9 +57,10 @@ An unknown "kind" was specified for a link attribute. Erroneous code example:
 
 Please specify a valid "kind" value, from one of the following:
 
- - static
- - dylib
- - framework
+ * static
+ * dylib
+ * framework
+
 "##,
 
 E0459: r##"
diff --git a/src/librustc_typeck/diagnostics.rs b/src/librustc_typeck/diagnostics.rs
index e64a312d8e1..04314045733 100644
--- a/src/librustc_typeck/diagnostics.rs
+++ b/src/librustc_typeck/diagnostics.rs
@@ -1378,8 +1378,8 @@ let x = |_| {}; // error: cannot determine a type for this expression
 
 You have two possibilities to solve this situation:
 
- - Give an explicit definition of the expression
- - Infer the expression
+ * Give an explicit definition of the expression
+ * Infer the expression
 
 Examples:
 
diff --git a/src/libsyntax/diagnostic_list.rs b/src/libsyntax/diagnostic_list.rs
index ace3af0f102..9110e989a8a 100644
--- a/src/libsyntax/diagnostic_list.rs
+++ b/src/libsyntax/diagnostic_list.rs
@@ -65,8 +65,8 @@ fn main() {}
 
 The `inline` attribute only supports two arguments:
 
- - always
- - never
+ * always
+ * never
 
 All other arguments given to the `inline` attribute will return this error.
 Example:
@@ -121,9 +121,9 @@ pub fn main() {}
 
 The `cfg` attribute supports only three kinds of predicates:
 
- - any
- - all
- - not
+ * any
+ * all
+ * not
 
 Example: