File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
compiler/rustc_driver_impl/src Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -1184,7 +1184,11 @@ fn print_flag_list<T>(
11841184///
11851185/// So with all that in mind, the comments below have some more detail about the
11861186/// contortions done here to get things to work out correctly.
1187- fn handle_options( handler: & EarlyErrorHandler , args: & [ String ] ) -> Option <getopts:: Matches > {
1187+ ///
1188+ /// This does not need to be `pub` for rustc itself, but @chaosite needs it to
1189+ /// be public when using rustc as a library, see
1190+ /// https://github.com/rust-lang/rust/commit/2b4c33817a5aaecabf4c6598d41e190080ec119e
1191+ pub fn handle_options( handler: & EarlyErrorHandler , args: & [ String ] ) -> Option <getopts:: Matches > {
11881192 if args. is_empty( ) {
11891193 // user did not write `-v` nor `-Z unstable-options`, so do not
11901194 // include that extra information.
You can’t perform that action at this time.
0 commit comments