rust/src/librustc_driver
Mazdak Farrokhzad 4997604503
Rollup merge of #66546 - aradzie:remove_duplicate_function, r=Dylan-DPC
Remove duplicate function

Function `source_name` declared in file

[src/librustc_driver/lib.rs](https://github.com/rust-lang/rust/blob/master/src/librustc_driver/lib.rs#L87)

is a duplicate of the function by the same name declared in file

[src/librustc/session/config.rs](https://github.com/rust-lang/rust/blob/master/src/librustc/session/config.rs#L511)
2019-11-20 12:58:33 +01:00
..
args.rs Stabilize @file command line arguments 2019-11-06 17:31:15 -08:00
build.rs Remove licenses 2018-12-25 21:08:33 -07:00
Cargo.toml Rename directory rustc_plugin -> rustc_plugin_impl 2019-11-17 11:04:49 +03:00
lib.rs Remove duplicate function 2019-11-19 14:22:07 +01:00
pretty.rs Remove duplicate function 2019-11-19 14:22:07 +01:00
README.md rustc-guide has moved 2018-11-26 15:03:13 -06:00

The driver crate is effectively the "main" function for the rust compiler. It orchestrates the compilation process and "knits together" the code from the other crates within rustc. This crate itself does not contain any of the "main logic" of the compiler (though it does have some code related to pretty printing or other minor compiler options).

For more information about how the driver works, see the rustc guide.