File tree Expand file tree Collapse file tree 5 files changed +9
-5
lines changed
librustc_mir/borrow_check Expand file tree Collapse file tree 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>
263263Xuefeng Wu <benewu@gmail.com> XuefengWu <benewu@gmail.com>
264264York Xiang <bombless@126.com>
265265Youngsoo Son <ysson83@gmail.com> <ysoo.son@samsung.com>
266+ Yuki Okushi <huyuumi.dev@gmail.com>
266267Zach Pomerantz <zmp@umich.edu>
267268Zack Corr <zack@z0w0.me> <zackcorr95@gmail.com>
268269Zack Slayton <zack.slayton@gmail.com>
Original file line number Diff line number Diff line change 55//! fn foo<'a, 'b, 'c: 'b>() { }
66//! ```
77//!
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}`
99//! to an index, as well as the `FreeRegionMap` which can compute
1010//! relationships between them.
1111//!
Original file line number Diff line number Diff line change 66//!
77//! There are several functions and structs in this module that have a
88//! 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`].
1010//!
1111//! [`OsString`]: ../../std/ffi/struct.OsString.html
1212//! [`String`]: ../string/struct.String.html
Original file line number Diff line number Diff line change @@ -412,7 +412,8 @@ impl<'a> TraitDef<'a> {
412412 _ => {
413413 // Non-ADT derive is an error, but it should have been
414414 // 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()
416417 return ;
417418 }
418419 } ;
@@ -486,7 +487,8 @@ impl<'a> TraitDef<'a> {
486487 _ => {
487488 // Non-Item derive is an error, but it should have been
488489 // 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()
490492 return ;
491493 }
492494 }
Original file line number Diff line number Diff line change @@ -92,7 +92,8 @@ fn inject_impl_of_structural_trait(
9292 _ => {
9393 // Non-Item derive is an error, but it should have been
9494 // 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()
9697 return ;
9798 }
9899 } ;
You can’t perform that action at this time.
0 commit comments