File tree 5 files changed +9
-5
lines changed
librustc_mir/borrow_check
5 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -263,6 +263,7 @@ Xuefeng Wu <benewu@gmail.com> Xuefeng Wu <xfwu@thoughtworks.com>
263
263
Xuefeng Wu <benewu@gmail.com> XuefengWu <benewu@gmail.com>
264
264
York Xiang <bombless@126.com>
265
265
Youngsoo Son <ysson83@gmail.com> <ysoo.son@samsung.com>
266
+ Yuki Okushi <huyuumi.dev@gmail.com>
266
267
Zach Pomerantz <zmp@umich.edu>
267
268
Zack Corr <zack@z0w0.me> <zackcorr95@gmail.com>
268
269
Zack Slayton <zack.slayton@gmail.com>
Original file line number Diff line number Diff line change 5
5
//! fn foo<'a, 'b, 'c: 'b>() { }
6
6
//! ```
7
7
//!
8
- //! here we would be returning a map assigning each of `{'a, 'b, 'c}`
8
+ //! here we would return a map assigning each of `{'a, 'b, 'c}`
9
9
//! to an index, as well as the `FreeRegionMap` which can compute
10
10
//! relationships between them.
11
11
//!
Original file line number Diff line number Diff line change 6
6
//!
7
7
//! There are several functions and structs in this module that have a
8
8
//! counterpart ending in `os`. Those ending in `os` will return an [`OsString`]
9
- //! and those without will be returning a [`String`].
9
+ //! and those without will return a [`String`].
10
10
//!
11
11
//! [`OsString`]: ../../std/ffi/struct.OsString.html
12
12
//! [`String`]: ../string/struct.String.html
Original file line number Diff line number Diff line change @@ -412,7 +412,8 @@ impl<'a> TraitDef<'a> {
412
412
_ => {
413
413
// Non-ADT derive is an error, but it should have been
414
414
// set earlier; see
415
- // libsyntax/ext/expand.rs:MacroExpander::expand()
415
+ // libsyntax_expand/expand.rs:MacroExpander::fully_expand_fragment()
416
+ // libsyntax_expand/base.rs:Annotatable::derive_allowed()
416
417
return ;
417
418
}
418
419
} ;
@@ -486,7 +487,8 @@ impl<'a> TraitDef<'a> {
486
487
_ => {
487
488
// Non-Item derive is an error, but it should have been
488
489
// set earlier; see
489
- // libsyntax/ext/expand.rs:MacroExpander::expand()
490
+ // libsyntax_expand/expand.rs:MacroExpander::fully_expand_fragment()
491
+ // libsyntax_expand/base.rs:Annotatable::derive_allowed()
490
492
return ;
491
493
}
492
494
}
Original file line number Diff line number Diff line change @@ -92,7 +92,8 @@ fn inject_impl_of_structural_trait(
92
92
_ => {
93
93
// Non-Item derive is an error, but it should have been
94
94
// set earlier; see
95
- // libsyntax/ext/expand.rs:MacroExpander::expand()
95
+ // libsyntax_expand/expand.rs:MacroExpander::fully_expand_fragment()
96
+ // libsyntax_expand/base.rs:Annotatable::derive_allowed()
96
97
return ;
97
98
}
98
99
} ;
You can’t perform that action at this time.
0 commit comments