Go to file
Matthias Krüger 379ef9bd36
Rollup merge of #121386 - oli-obk:no_higher_ranked_opaques, r=lcnr
test that we do not support higher-ranked regions in opaque type inference

We already do all the right checks in `check_opaque_type_parameter_valid`, and we have done so since at least 2 years.

I collected the tests from https://github.com/rust-lang/rust/pull/116935 and https://github.com/rust-lang/rust/pull/100503 and added some more

cc https://github.com/rust-lang/rust/issues/96146

r? `@lcnr`
2024-02-22 18:09:52 +01:00
.github Update GitHub actions dependencies 2024-02-16 15:58:10 +01:00
.reuse update license reference 2024-02-16 12:10:49 +01:00
compiler Rollup merge of #121386 - oli-obk:no_higher_ranked_opaques, r=lcnr 2024-02-22 18:09:52 +01:00
library Auto merge of #121309 - Nilstrieb:inline-all-the-fallbacks, r=oli-obk 2024-02-22 12:07:08 +00:00
LICENSES
src Auto merge of #121372 - clubby789:test-all-tests, r=onur-ozkan 2024-02-22 14:39:16 +00:00
tests Rollup merge of #121386 - oli-obk:no_higher_ranked_opaques, r=lcnr 2024-02-22 18:09:52 +01:00
.editorconfig
.git-blame-ignore-revs
.gitattributes
.gitignore
.gitmodules
.mailmap
Cargo.lock Rollup merge of #121392 - bjorn3:unify_dylib_loading, r=petrochenkov 2024-02-21 22:48:59 +01:00
Cargo.toml
CODE_OF_CONDUCT.md
config.example.toml Add rust.frame-pointers config option 2024-02-18 22:23:09 +01:00
configure Ensure ./configure works when configure.py path contains spaces 2024-02-16 18:57:22 +00:00
CONTRIBUTING.md
COPYRIGHT
INSTALL.md
LICENSE-APACHE
LICENSE-MIT
README.md
RELEASES.md
rust-bors.toml
rustfmt.toml
triagebot.toml Rollup merge of #121336 - davidtwco:triagebot-notifications, r=wesleywiser 2024-02-21 22:48:57 +01:00
x
x.ps1
x.py

The Rust Programming Language

Rust Community

This is the main source code repository for Rust. It contains the compiler, standard library, and documentation.

Note: this README is for users rather than contributors. If you wish to contribute to the compiler, you should read CONTRIBUTING.md instead.

Table of Contents

Quick Start

Read "Installation" from The Book.

Installing from Source

If you really want to install from source (though this is not recommended), see INSTALL.md.

Getting Help

See https://www.rust-lang.org/community for a list of chat platforms and forums.

Contributing

See CONTRIBUTING.md.

License

Rust is primarily distributed under the terms of both the MIT license and the Apache License (Version 2.0), with portions covered by various BSD-like licenses.

See LICENSE-APACHE, LICENSE-MIT, and COPYRIGHT for details.

Trademark

The Rust Foundation owns and protects the Rust and Cargo trademarks and logos (the "Rust Trademarks").

If you want to use these names or brands, please read the media guide.

Third-party logos may be subject to third-party copyrights and trademarks. See Licenses for details.