検索
Results of 11 - 20 of about 34 for type (0.044 sec.)
- 制御フロー - Rust 日本語版 7972
- The Rust Programming Language 日本語版 まえがき はじめに 1. 事始め 1.1. インストール 1.2. Hello,
...
ンパイラがエラーを投げます: error[E0308]: mismatched types (型が合いません) --> src/main.rs:4:8 | 4 | if num...
たのに、整数変数が見つかりました) | = note: expected type `bool` found type `{integer}` このエラーは、コンパ...
れます: error[E0308]: if and else have incompatible types (ifとelseの型に互換性がありません) --> src/main.r...
しましたが、&strが見つかりました) | = note: expected type `{integer}` found type `&str` if ブロックの式は整数...
- https://man.plustar.jp/rust/book/ch03-05-control-flow.html - [similar]
- ジェネリックなデータ型 - Rust 日本語版 7972
- The Rust Programming Language 日本語版 まえがき はじめに 1. 事始め 1.1. インストール 1.2. Hello,
...
)、Rustの型の命名規則がキャメルケースだからです。 "type"の省略形なので、 T が多くのRustプログラマの既定の選...
[E0369]: binary operation `>` cannot be applied to type `T` (エラー: 2項演算`>`は、型`T`に適用できません)...
うに型不一致エラーが出ます: error[E0308]: mismatched types --> src/main.rs:7:38 | 7 | let wont_work = Point...
, found floating-point variable | = note: expected type `{integer}` found type `{float}` x と y が両方ジェ...
- https://man.plustar.jp/rust/book/ch10-01-syntax.html - [similar]
- トレイト:共通の振る舞いを定義する - Rust 日本語版 7972
- The Rust Programming Language 日本語版 まえがき はじめに 1. 事始め 1.1. インストール 1.2. Hello,
...
[E0369]: binary operation `>` cannot be applied to type `T` --> src/main.rs:5:17 | 5 | if item > largest {...
ojects/chapter10) error[E0508]: cannot move out of type `[T]`, a non-copy slice (エラー[E0508]: 型`[T]`を...
とはできません) | move occurs because `list[_]` has type `T`, which does not implement the `Copy` trait | (...
ーブされています) | |move occurs because `item` has type `T`, which does not implement the `Copy` trait | |...
- https://man.plustar.jp/rust/book/ch10-02-traits.html - [similar]
- データ型 - Rust 日本語版 7781
- The Rust Programming Language 日本語版 まえがき はじめに 1. 事始め 1.1. インストール 1.2. Hello,
...
情報を得る必要があることを意味します: error[E0282]: type annotations needed (型注釈が必要です) --> src/main...
se().expect("Not a number!"); | ^^^^^ cannot infer type for `_` | (`_`の型が推論できません) | = note: type...
- https://man.plustar.jp/rust/book/ch03-02-data-types.html - [similar]
- Resultで回復可能なエラー - Rust 日本語版 7573
- The Rust Programming Language 日本語版 まえがき はじめに 1. 事始め 1.1. インストール 1.2. Hello,
...
下のような出力が得られます: error[E0308]: mismatched types (エラー: 型が合いません) --> src/main.rs:4:18 | 4...
ound enum `std::result::Result` | = note: expected type `u32` (注釈: 予期した型は`u32`です) found type `st...
ed in a function that returns `Result` (or another type that implements `std::ops::Try`) | in this macro i...
- https://man.plustar.jp/rust/book/ch09-02-recoverable-errors-with-result.html - [similar]
- 変数と可変性 - Rust 日本語版 7477
- The Rust Programming Language 日本語版 まえがき はじめに 1. 事始め 1.1. インストール 1.2. Hello,
...
ないと言われているわけです: error[E0308]: mismatched types (型が合いません) --> src/main.rs:3:14 | 3 | space...
ましたが、usizeが見つかりました) | = note: expected type `&str` found type `usize` さあ、変数が動作する方法...
- https://man.plustar.jp/rust/book/ch03-01-variables-and-mutability.html - [similar]
- 参照と借用 - Rust 日本語版 7477
- The Rust Programming Language 日本語版 まえがき はじめに 1. 事始め 1.1. インストール 1.2. Hello,
...
ifetime parameter | = help: this function's return type contains a borrowed value, but there is no value f...
理由に関する鍵を握っています: this function's return type contains a borrowed value, but there is no value f...
- https://man.plustar.jp/rust/book/ch04-02-references-and-borrowing.html - [similar]
- クロージャ:環境をキャプチャできる匿名関数 - Rust 日本語版 7477
- The Rust Programming Language 日本語版 まえがき はじめに 1. 事始め 1.1. インストール 1.2. Hello,
...
ラは、次のエラーを返します: error[E0308]: mismatched types --> src/main.rs | | let n = example_closure(5); |...
tring`, found integral variable | = note: expected type `std::string::String` found type `{integer}` Strin...
で使用された) | = note: move occurs because `x` has type `std::vec::Vec<i32>`, which does not implement the...
- https://man.plustar.jp/rust/book/ch13-01-closures.html - [similar]
- ヒープのデータを指すBox<T>を使用する - Rust 日本語版 7477
- The Rust Programming Language 日本語版 まえがき はじめに 1. 事始め 1.1. インストール 1.2. Hello,
...
-4に示したエラーが出ます。 error[E0072]: recursive type `List` has infinite size (エラー: 再帰的な型`List`...
ain.rs:1:1 | 1 | enum List { | ^^^^^^^^^ recursive type has infinite size 2 | Cons(i32, List), | ----- rec...
- https://man.plustar.jp/rust/book/ch15-01-box.html - [similar]
- パターンが使用されることのある箇所全部 - Rust 日本語版 7477
- The Rust Programming Language 日本語版 まえがき はじめに 1. 事始め 1.1. インストール 1.2. Hello,
...
うな型エラーに落ち着きます: error[E0308]: mismatched types --> src/main.rs:2:9 | 2 | let (x, y) = (1, 2, 3);...
、2要素のタプルが見つかりました) | = note: expected type `({integer}, {integer}, {integer})` found type `(_...
- https://man.plustar.jp/rust/book/ch18-01-all-the-places-for-patterns.html - [similar]