Logo
Explore Help
Register Sign In
rust-lang/rust
1
0
Fork 0
You've already forked rust
Code Issues Pull Requests Actions 2 Packages Projects Releases Wiki Activity
Files
359bfa901b9d8eddbed7b88b6716dbb77b7bfb95
rust/tests/ui/lint/lint-unknown-feature-default.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
181 B
Rust
Raw Normal View History

Make some tests check-pass
2022-05-28 18:57:02 +09:00
//@ check-pass
Add some tests for stability stuff
2015-01-22 17:28:26 -08:00
// Tests the default for the unused_features lint
Convert unknown_features lint into an error
2018-07-23 21:05:39 +01:00
#![allow(stable_features)]
rustc: Move stability functionality into queries This commit primarily removes the `stability` field from `TyCtxt` as well as its internal mutable state, instead using a query to build the stability index as well as primarily using queries for other related lookups. Like previous commits the calculation of the stability index is wrapped in a `with_ignore` node to avoid regressing the current tests, and otherwise this commit also introduces #44232 but somewhat intentionally so.
2017-08-31 15:08:34 -07:00
// FIXME(#44232) we should warn that this isn't used.
Convert unknown_features lint into an error
2018-07-23 21:05:39 +01:00
#![feature(rust1)]
Test fixes and rebase conflicts
2015-02-02 11:04:58 -08:00
Make some tests check-pass
2022-05-28 18:57:02 +09:00
fn main() {}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 3712ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API