Skip to content

Commit ad77d41

Browse files
Rajkumar Natarajanmark-i-m
Rajkumar Natarajan
authored andcommitted
update nightly documention for issue#100-b
1 parent 46864ca commit ad77d41

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

src/appendix-stupid-stats.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ between phases.
113113
`CompilerCalls` is a trait that you implement in your tool. It contains a fairly
114114
ad-hoc set of methods to hook in to the process of processing command line
115115
arguments and driving the compiler. For details, see the comments in
116-
[librustc_driver/lib.rs](https://github.com/rust-lang/rust/tree/master/src/librustc_driver/lib.rs).
116+
[librustc_driver/lib.rs](https://doc.rust-lang.org/nightly/nightly-rustc/rustc_driver/index.html).
117117
I'll summarise the methods here.
118118

119119
`early_callback` and `late_callback` let you call arbitrary code at different

src/const-eval.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ integer or fat pointer, it will directly yield the value (via `Value::ByVal` or
3535
memory allocation (via `Value::ByRef`). This means that the `const_eval`
3636
function cannot be used to create miri-pointers to the evaluated constant or
3737
static. If you need that, you need to directly work with the functions in
38-
[src/librustc_mir/interpret/const_eval.rs](https://github.com/rust-lang/rust/blob/master/src/librustc_mir/interpret/const_eval.rs).
38+
[src/librustc_mir/interpret/const_eval.rs](https://doc.rust-lang.org/nightly/nightly-rustc/rustc_mir/interpret/const_eval/).

src/method-lookup.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ cacheable across method-call sites. Therefore, it does not include
3838
inference variables or other information.
3939

4040
[UFCS]: https://github.com/rust-lang/rfcs/blob/master/text/0132-ufcs.md
41-
[probe]: https://github.com/rust-lang/rust/blob/master/src/librustc_typeck/check/method/probe.rs
42-
[confirm]: https://github.com/rust-lang/rust/blob/master/src/librustc_typeck/check/method/confirm.rs
41+
[probe]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_typeck/check/method/probe/
42+
[confirm]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_typeck/check/method/confirm/
4343

4444
## The Probe phase
4545

src/miri.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ to a pointer to `b`.
112112

113113
Although the main entry point to constant evaluation is the `tcx.const_eval`
114114
query, there are additional functions in
115-
[librustc_mir/interpret/const_eval.rs](https://github.com/rust-lang/rust/blob/master/src/librustc_mir/interpret/const_eval.rs)
115+
[librustc_mir/interpret/const_eval.rs](https://doc.rust-lang.org/nightly/nightly-rustc/rustc_mir/interpret/const_eval/)
116116
that allow accessing the fields of a `Value` (`ByRef` or otherwise). You should
117117
never have to access an `Allocation` directly except for translating it to the
118118
compilation target (at the moment just LLVM).

src/type-checking.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,6 @@ type *checking*).
3939
For more details, see the [`collect`][collect] module.
4040

4141
[queries]: query.html
42-
[collect]: https://github.com/rust-lang/rust/blob/master/src/librustc_typeck/collect.rs
42+
[collect]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_typeck/collect/
4343

4444
**TODO**: actually talk about type checking...

0 commit comments

Comments
 (0)