about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--tests/ui/manual_unwrap_or.fixed4
-rw-r--r--tests/ui/manual_unwrap_or.rs4
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/ui/manual_unwrap_or.fixed b/tests/ui/manual_unwrap_or.fixed
index 2f57957f55b..f1d3252230b 100644
--- a/tests/ui/manual_unwrap_or.fixed
+++ b/tests/ui/manual_unwrap_or.fixed
@@ -137,14 +137,14 @@ fn result_unwrap_or() {
 }
 
 // don't lint in const fn
-const fn const_fn_unwrap_or() {
+const fn const_fn_option_unwrap_or() {
     match Some(1) {
         Some(s) => s,
         None => 0,
     };
 }
 
-const fn const_fn_unwrap() {
+const fn const_fn_result_unwrap_or() {
     match Ok::<&str, &str>("Alice") {
         Ok(s) => s,
         Err(_) => "Bob",
diff --git a/tests/ui/manual_unwrap_or.rs b/tests/ui/manual_unwrap_or.rs
index 1088047da75..c9eee25a5b1 100644
--- a/tests/ui/manual_unwrap_or.rs
+++ b/tests/ui/manual_unwrap_or.rs
@@ -176,14 +176,14 @@ fn result_unwrap_or() {
 }
 
 // don't lint in const fn
-const fn const_fn_unwrap_or() {
+const fn const_fn_option_unwrap_or() {
     match Some(1) {
         Some(s) => s,
         None => 0,
     };
 }
 
-const fn const_fn_unwrap() {
+const fn const_fn_result_unwrap_or() {
     match Ok::<&str, &str>("Alice") {
         Ok(s) => s,
         Err(_) => "Bob",