about summary refs log tree commit diff
path: root/src/test
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2019-10-05 10:41:24 -0700
committerEsteban Küber <esteban@kuber.com.ar>2019-10-09 10:17:29 -0700
commit722bb515e2b5f93aad4cfdbc3de664af9ac445c1 (patch)
treec4d03926fa205b1126c6fba83348bf659d85ae76 /src/test
parentacd6540a74e5e83ce6d24c696ad833b6f80027b2 (diff)
downloadrust-722bb515e2b5f93aad4cfdbc3de664af9ac445c1.tar.gz
rust-722bb515e2b5f93aad4cfdbc3de664af9ac445c1.zip
Obligation must apply modulo regions
Diffstat (limited to 'src/test')
-rw-r--r--src/test/ui/parser/lex-bad-char-literals-6.stderr2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/test/ui/parser/lex-bad-char-literals-6.stderr b/src/test/ui/parser/lex-bad-char-literals-6.stderr
index dc6e1e6e972..a7bbe05e94b 100644
--- a/src/test/ui/parser/lex-bad-char-literals-6.stderr
+++ b/src/test/ui/parser/lex-bad-char-literals-6.stderr
@@ -35,7 +35,6 @@ LL |     if x == y {}
    |          ^^ no implementation for `&str == char`
    |
    = help: the trait `std::cmp::PartialEq<char>` is not implemented for `&str`
-   = note: `std::cmp::PartialEq<char>` is implemented for `&mut str`, but not for `&str`
 
 error[E0308]: mismatched types
   --> $DIR/lex-bad-char-literals-6.rs:15:20
@@ -53,7 +52,6 @@ LL |     if x == z {}
    |          ^^ no implementation for `&str == char`
    |
    = help: the trait `std::cmp::PartialEq<char>` is not implemented for `&str`
-   = note: `std::cmp::PartialEq<char>` is implemented for `&mut str`, but not for `&str`
 
 error: aborting due to 6 previous errors