You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/attributes/diagnostics.md
+1-2
Original file line number
Diff line number
Diff line change
@@ -549,9 +549,8 @@ error[E0277]: My Message for `ImportantTrait<i32>` implemented for `String`
549
549
= note: Note 2
550
550
```
551
551
552
-
### The `diagnostic::do_not_recommend` attribute
553
-
554
552
r[attributes.diagnostic.do_not_recommend]
553
+
### The `diagnostic::do_not_recommend` attribute
555
554
556
555
r[attributes.diagnostic.do_not_recommend.intro]
557
556
The `#[diagnostic::do_not_recommend]` attribute is a hint to the compiler to not show the annotated trait implementation as part of a diagnostic message.
Copy file name to clipboardExpand all lines: src/identifiers.md
-1
Original file line number
Diff line number
Diff line change
@@ -56,7 +56,6 @@ Identifiers are restricted to the ASCII subset of [`XID_Start`] and [`XID_Contin
56
56
r[ident.normalization]
57
57
## Normalization
58
58
59
-
60
59
Identifiers are normalized using Normalization Form C (NFC) as defined in [Unicode Standard Annex #15][UAX15]. Two identifiers are equal if their NFC forms are equal.
61
60
62
61
[Procedural][proc-macro] and [declarative][mbe] macros receive normalized identifiers in their input.
Copy file name to clipboardExpand all lines: src/statements-and-expressions.md
-1
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,6 @@
1
1
r[stmt-expr]
2
2
# Statements and expressions
3
3
4
-
5
4
Rust is _primarily_ an expression language.
6
5
This means that most forms of value-producing or effect-causing evaluation are directed by the uniform syntax category of _expressions_.
7
6
Each kind of expression can typically _nest_ within each other kind of expression, and rules for evaluation of expressions involve specifying both the value produced by the expression and the order in which its sub-expressions are themselves evaluated.
0 commit comments