diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-06-27 22:35:06 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-27 22:35:06 +0200 |
| commit | 38bfa9c4f83b92c7ece0ff3a78e1ba16e7a9cf80 (patch) | |
| tree | 7acd4ed5aee1df251e60fbfb5e2a8ba52f2dc9b0 /compiler/rustc_driver/src/lib.rs | |
| parent | 8e52fa87ebbe3ea2ad38b429292e4a22300188d7 (diff) | |
| parent | 768129d4bdca2354cecb5c0ab91ae555864d49d0 (diff) | |
Rollup merge of #98331 - GuillaumeGomez:rustdoc-arg-error, r=notriddle
Fix rustdoc argument error Fixes #88756. It's a take over of #88831. I cherry-picked the commits, fixed the merge conflict and the failing test. cc `@inashivb` `@jyn514` r? `@notriddle`
Diffstat (limited to 'compiler/rustc_driver/src/lib.rs')
| -rw-r--r-- | compiler/rustc_driver/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_driver/src/lib.rs b/compiler/rustc_driver/src/lib.rs index caa92e74808..3096af90d47 100644 --- a/compiler/rustc_driver/src/lib.rs +++ b/compiler/rustc_driver/src/lib.rs @@ -932,7 +932,7 @@ fn describe_codegen_flags() { print_flag_list("-C", config::CG_OPTIONS); } -fn print_flag_list<T>( +pub fn print_flag_list<T>( cmdline_opt: &str, flag_list: &[(&'static str, T, &'static str, &'static str)], ) { |
