diff options
| author | Maybe Waffle <waffle.lapkin@gmail.com> | 2023-02-01 10:42:20 +0000 |
|---|---|---|
| committer | Maybe Waffle <waffle.lapkin@gmail.com> | 2023-02-02 08:17:13 +0000 |
| commit | 9fe8ae792e4efd59ea37116a44391b4abdd2d7be (patch) | |
| tree | 87560481d759c311965f35b2c9e1cbd6cd70fcf1 /compiler/rustc_session/src/session.rs | |
| parent | 131f0c6df6777800aa884963bdba0739299cd31f (diff) | |
| download | rust-9fe8ae792e4efd59ea37116a44391b4abdd2d7be.tar.gz rust-9fe8ae792e4efd59ea37116a44391b4abdd2d7be.zip | |
Rename `rust_2015` => `is_rust_2015`
Diffstat (limited to 'compiler/rustc_session/src/session.rs')
| -rw-r--r-- | compiler/rustc_session/src/session.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_session/src/session.rs b/compiler/rustc_session/src/session.rs index 746e0f169bc..dbd419c1406 100644 --- a/compiler/rustc_session/src/session.rs +++ b/compiler/rustc_session/src/session.rs @@ -919,8 +919,8 @@ impl Session { } /// Is this edition 2015? - pub fn rust_2015(&self) -> bool { - self.edition().rust_2015() + pub fn is_rust_2015(&self) -> bool { + self.edition().is_rust_2015() } /// Are we allowed to use features from the Rust 2018 edition? |
