@@ -790,7 +790,7 @@ Furthermore, the syntax is changing to use `in` instead of `box`. See [RFC 470]
790
790
and [RFC 809] for more details.
791
791
792
792
[RFC 470]: https://github.com/rust-lang/rfcs/pull/470
793
- [RFC 809]: https://github.com/rust-lang/rfcs/pull/809
793
+ [RFC 809]: https://github.com/rust-lang/rfcs/blob/master/text/0809-box-and-in-for-stdlib.md
794
794
"## ,
795
795
796
796
E0067 : r##"
@@ -1428,7 +1428,7 @@ type X = u32; // this compiles
1428
1428
```
1429
1429
1430
1430
Note that type parameters for enum-variant constructors go after the variant,
1431
- not after the enum (Option::None::<u32>, not Option::<u32>::None).
1431
+ not after the enum (` Option::None::<u32>` , not ` Option::<u32>::None` ).
1432
1432
"## ,
1433
1433
1434
1434
E0110 : r##"
@@ -1521,7 +1521,7 @@ impl Bar for u32 {
1521
1521
1522
1522
For information on the design of the orphan rules, see [RFC 1023].
1523
1523
1524
- [RFC 1023]: https://github.com/rust-lang/rfcs/pull/ 1023
1524
+ [RFC 1023]: https://github.com/rust-lang/rfcs/blob/master/text/ 1023-rebalancing-coherence.md
1525
1525
"## ,
1526
1526
1527
1527
E0118 : r##"
@@ -1911,8 +1911,9 @@ type Foo = Trait<Bar=i32>; // ok!
1911
1911
1912
1912
E0192 : r##"
1913
1913
Negative impls are only allowed for traits with default impls. For more
1914
- information see the [opt-in builtin traits RFC](https://github.com/rust-lang/
1915
- rfcs/blob/master/text/0019-opt-in-builtin-traits.md).
1914
+ information see the [opt-in builtin traits RFC][RFC 19].
1915
+
1916
+ [RFC 19]: https://github.com/rust-lang/rfcs/blob/master/text/0019-opt-in-builtin-traits.md
1916
1917
"## ,
1917
1918
1918
1919
E0193 : r##"
@@ -2147,7 +2148,7 @@ E0202: r##"
2147
2148
Inherent associated types were part of [RFC 195] but are not yet implemented.
2148
2149
See [the tracking issue][iss8995] for the status of this implementation.
2149
2150
2150
- [RFC 195]: https://github.com/rust-lang/rfcs/pull/195
2151
+ [RFC 195]: https://github.com/rust-lang/rfcs/blob/master/text/0195-associated-items.md
2151
2152
[iss8995]: https://github.com/rust-lang/rust/issues/8995
2152
2153
"## ,
2153
2154
@@ -2424,7 +2425,7 @@ such that `Ti` is a local type. Then no type parameter can appear in any of the
2424
2425
2425
2426
For information on the design of the orphan rules, see [RFC 1023].
2426
2427
2427
- [RFC 1023]: https://github.com/rust-lang/rfcs/pull/ 1023
2428
+ [RFC 1023]: https://github.com/rust-lang/rfcs/blob/master/text/ 1023-rebalancing-coherence.md
2428
2429
"## ,
2429
2430
2430
2431
/*
@@ -2799,8 +2800,9 @@ verify this assertion; therefore we must tag this `impl` as unsafe.
2799
2800
2800
2801
E0318 : r##"
2801
2802
Default impls for a trait must be located in the same crate where the trait was
2802
- defined. For more information see the [opt-in builtin traits RFC](https://github
2803
- .com/rust-lang/rfcs/blob/master/text/0019-opt-in-builtin-traits.md).
2803
+ defined. For more information see the [opt-in builtin traits RFC][RFC 19].
2804
+
2805
+ [RFC 19]: https://github.com/rust-lang/rfcs/blob/master/text/0019-opt-in-builtin-traits.md
2804
2806
"## ,
2805
2807
2806
2808
E0321 : r##"
@@ -3018,10 +3020,8 @@ impl<T> Unsize<T> for MyType {}
3018
3020
```
3019
3021
3020
3022
If you are defining your own smart pointer type and would like to enable
3021
- conversion from a sized to an unsized type with the [DST coercion system]
3022
- (https://github.com/rust-lang/rfcs/blob/master/text/0982-dst-coercion.md), use
3023
- [`CoerceUnsized`](https://doc.rust-lang.org/std/ops/trait.CoerceUnsized.html)
3024
- instead.
3023
+ conversion from a sized to an unsized type with the
3024
+ [DST coercion system][RFC 982], use [`CoerceUnsized`] instead.
3025
3025
3026
3026
```
3027
3027
#![feature(coerce_unsized)]
@@ -3035,6 +3035,9 @@ pub struct MyType<T: ?Sized> {
3035
3035
impl<T, U> CoerceUnsized<MyType<U>> for MyType<T>
3036
3036
where T: CoerceUnsized<U> {}
3037
3037
```
3038
+
3039
+ [RFC 982]: https://github.com/rust-lang/rfcs/blob/master/text/0982-dst-coercion.md
3040
+ [`CoerceUnsized`]: https://doc.rust-lang.org/std/ops/trait.CoerceUnsized.html
3038
3041
"## ,
3039
3042
3040
3043
E0329 : r##"
@@ -3438,8 +3441,9 @@ struct.
3438
3441
3439
3442
E0380 : r##"
3440
3443
Default impls are only allowed for traits with no methods or associated items.
3441
- For more information see the [opt-in builtin traits RFC](https://github.com/rust
3442
- -lang/rfcs/blob/master/text/0019-opt-in-builtin-traits.md).
3444
+ For more information see the [opt-in builtin traits RFC][RFC 19].
3445
+
3446
+ [RFC 19]: https://github.com/rust-lang/rfcs/blob/master/text/0019-opt-in-builtin-traits.md
3443
3447
"## ,
3444
3448
3445
3449
E0390 : r##"
0 commit comments