fix some typos
This commit is contained in:
parent
b1ab3b738a
commit
62a2a1d257
7 changed files with 6 additions and 6 deletions
|
|
@ -1,7 +1,7 @@
|
|||
// check-fail
|
||||
// known-bug
|
||||
|
||||
// We almost certaintly want this to pass, but
|
||||
// We almost certainly want this to pass, but
|
||||
// it's particularly difficult currently, because we need a way of specifying
|
||||
// that `<Self::Base as Functor>::With<T> = Self` without using that when we have
|
||||
// a `U`. See `https://github.com/rust-lang/rust/pull/92728` for a (hacky)
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ fn main() {
|
|||
|
||||
// Ensure that uninhabited types do not "diverge".
|
||||
// This might be relaxed in the future, but when it is,
|
||||
// it should be an explicitly wanted descision.
|
||||
// it should be an explicitly wanted decision.
|
||||
let Some(x) = Some(1) else { foo::<Uninhabited>() }; //~ ERROR does not diverge
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
error[E0308]: mismatched types
|
||||
--> $DIR/multiple-occurence-ambiguousity.rs:21:26
|
||||
--> $DIR/multiple-occurrence-ambiguousity.rs:21:26
|
||||
|
|
||||
LL | let t: &dyn Bar<_> = s;
|
||||
| ----------- ^ expected trait `Bar`, found trait `Foo`
|
||||
Loading…
Add table
Add a link
Reference in a new issue